Splunk Search

One search to source multiple dashboard tables

skippylou
Communicator

Couldn't see to find a question like this here, but maybe my search for it is no good.

What I'd like to do is have a single search run, that could populate multiple tables in a dashboard.

As an example, say I have all my postfix mail logs in an index named 'mail'.

I want to have a dashboard with three panels, each populated with the output of the below three searches:

index=mail earliest=-24h | top client
index=mail earliest=-24h | top to
index=mail earliest=-24h | top from

Is there a way to get at the data by only running the search once and manipulating the top outputs, instead of taking the resource cost of running that three separate times (one for each top output needed)?

Thanks in advance,

Scott

Tags (2)
1 Solution

christopherutz
Path Finder
0 Karma

christopherutz
Path Finder
0 Karma

skippylou
Communicator

Fantastic, thanks!

Scott

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...