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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...