Splunk Search

How to separate stacked chart ?

kailun92
Communicator

I have 3 fields and wanted to display separately but it is all stacked together. How can I separate the stacked chart? I used a search command of sourcetype="CurrentWeatherSGTraffic" OR sourcetype="ltaTraffic" [search sourcetype="CurrentWeatherSGTraffic" | dedup Location | fields Location] | timechart span=1m count(eval(current_summary="Thundery Showers" OR current_summary="Rain")) AS Rain, count(eval(Type="Accident")) as Accident, count(eval(Type="Heavy Traffic")) as HeavyTraffic by Location

alt text

Tags (2)
0 Karma
1 Solution

phoenixdigital
Builder
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...