Splunk Search

How to plot multiple datasets on the same chart?

GaryZ
Path Finder
I'm trying to implement a chart, so users can select their options from a multi-select input box, and automatically update the chart with the selection the user chose (1 to many).
 
 
 
index=abc dict1
| rename dict1.hardware as hardware, dict1.build as build,
| eval mv=mvappend(“process1", "process2", "process3")
| foreach mode=multivalue mv
     [rename dict1.<<FIELD>>.duration as duration
      | chart avg(duration) OVER build BY hardware
]
 
 
1) Can I have this done in one chart?
2) Can I also have an option to dynamically create multiple charts?
 
TIA.
 
Labels (3)
0 Karma

yuanliu
SplunkTrust
SplunkTrust

Please explain your raw data (best with illustration, anonymize as needed) and your desired output with illustration, then any logic to relate data to desired output if it is not painfully obvious.  I'm pretty sure things are possible.  But it is unfair to expect volunteers to speculate these things because different hypotheses can lead to vastly different paths.

0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk &#43; Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...