Dashboards & Visualizations

Optimising dashboard. Make all visualisations use same search?

allanmb
Engager

I have a dashboard which renders 10 different visualisations but they are all using the same search string for splunk. E.g the following log entry is what I am searching for:

Settings: Data1:Value1 Data2:Value2 Data 3:Value3

I then parse the line for each visualisation. We have thousands of entries so the search can take quite a long time and it seems to do the search 10 times, once foe each visualisation. Is there a way to do one search and then use that search for each visualisation?

Thanks

0 Karma

twinspop
Influencer

Post processing might work, but it sounds like you'd have a lot of results from the base search. IIRC, post processing has a 10k limit. Instead, I would save your base search as a scheduled search, then use loadjob in each panel's query.

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob

Panel query:

| loadjob savedsearch="myuserid:my_cool_app:my_saved_base_search" | timechart ...
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...