Dashboards & Visualizations

Base Searches

WanLohnston
Explorer

Hi, 

I was wondering if it's at all possible to use a very broad query as a base search and then use queries to filter it down? 

Example would be a base search of all IDs, then a query using that base search to filter it down by a particular group. 

Labels (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

The important point to remember about base searches is that they are limited in volume and sometimes you can make your overall dashboard performance worse.  They are not intended as a vast lookup.

Given that, yes you can make a somewhat broad search, for example

index=abc
| stats count by id a b c

and then have 4 sub searches that do

1. | stats dc(id) as ids

2. | stats sum(count) as count by a

3. | stats sum(count) as count by b

4. | stats sum(count) as count by c

Maybe  if you gave a bit more detail and some of the search we could better advise if makes sense.

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @WanLohnston ,

yes, it's possible:

you must create a base search, with all the levels of complication and then use it as the starting point for the searches in each panel.

for more details see at https://help.splunk.com/en/splunk-enterprise/create-dashboards-and-reports/simple-xml-dashboards/9.4...

Ciao.

Giuseppe

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!

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...