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!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...