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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...