Getting Data In

Display timechart "BY" multiple lines in one chart

royimad
Builder

I have a search with a timechart grouped by a fieldname that would like to displayed on a multilines chart on the same graph, How i can do that?

host="fieldcontroller.wavemark.net" sourcetype="zenosseventhistory" 
| where MESSAGE like "%Low Power%" 
| rex field=MESSAGE "Power :(?<Voltage>.{5})" 
| timechart span=1d eval(min(LowVolt)) as LowVoltage by DEVICE
Tags (2)
0 Karma
1 Solution

lguinn2
Legend

I am not sure why you need the eval. Does the following work?

host="fieldcontroller.wavemark.net" sourcetype="zenosseventhistory" 
| where MESSAGE like "%Low Power%" 
| rex field=MESSAGE "Power :(?<Voltage>.{5})" 
| timechart span=1d min(LowVolt) as LowVoltage by DEVICE

View solution in original post

lguinn2
Legend

I am not sure why you need the eval. Does the following work?

host="fieldcontroller.wavemark.net" sourcetype="zenosseventhistory" 
| where MESSAGE like "%Low Power%" 
| rex field=MESSAGE "Power :(?<Voltage>.{5})" 
| timechart span=1d min(LowVolt) as LowVoltage by DEVICE
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...