Dashboards & Visualizations

How can I execute one search to display data on multiple panels in a dashboard?

nbharadwaj
Path Finder

How can I execute one search to display data on multiple panels in a dashboard?

I want to chart several metrics for the same criteria (same time range, same index etc). However I want to chart these metrics on separate charts- due to scaling issues and clarity.

So for a search like this:

index=A | stats count, avg(responseTime) by host

I want to chart count and avg(responseTime) on different charts on the same dashboard. However I dont want to split this up into two different searches for the two dashboard panels due to performance reasons.

Tags (2)

hiddenkirby
Contributor

I also found the ui-examples app (downloadable from splunkbase) very useful in this regard.

I beleive the one specifically you are looking for is called "inverted flow panel defined search" under simplified xml.

unless im way off.

gkanapathy
Splunk Employee
Splunk Employee

sideview
SplunkTrust
SplunkTrust

Actually that is correct, prior to 4.1 the flash charts will not work with this technique. Tables however did work fine back in 4.0.X.

0 Karma

nbharadwaj
Path Finder

This seems to apply only to 4.1 and above. I am on 4.0.10 - can you confirm this will work pre 4.1?

0 Karma

sideview
SplunkTrust
SplunkTrust

Its strange that the docs dont mention the limitations of working with postprocess. In a nutshell, beware that when you use postProcess it only gets the first 10,000 rows of the original search results to work with. So you can get inaccurate stats or missing rows in the final output.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...