Splunk Search

Run x number of searches with one click

JYTTEJ
Communicator

Hi, I have a new customer where a number of saved searches have been set up. These searches are measuring response times, CPU load etc.etc.

Now the customer wants to be able to run these searches in "one click":

Choose start and end time which shall apply to all searches, click run - and then all searches are run and produces a nice chart for each of these.

The reason is that the customer is doing benchmark testing - and wants to see the same measurements before and after e.g. an upgrade or relase installation.

So a Dashboard is not really a solution - is it?

Have any of you brilliant people out there ever done a thing like this? and what is the solution?

Tags (2)
1 Solution

dwaddle
SplunkTrust
SplunkTrust

Yes, this is a great use for a dashboard. It might require the advanced XML to be able to tie all of the searches to a common timerange picker, but I don't think so. I think there are some great examples of this in the UI examples app.

View solution in original post

araitz
Splunk Employee
Splunk Employee

This is something that should be fairly simple with advanced XML, let me know if I am missing something:

-TimeRangePicker
 |-SubmitButton
   |-HiddenSearch
     |-HiddenChartFormatter
       |-JSChart
   |-HiddenSearch
     |-HiddenChartFormatter
       |-JSChart
   |-HiddenSearch
     |-HiddenChartFormatter
       |-JSChart
   |-HiddenSearch
     |-HiddenChartFormatter
       |-JSChart

JYTTEJ
Communicator

Thank you both - I look forward to try it out -but I can at least let my customer know now that his requirement is possible 🙂

0 Karma

dwaddle
SplunkTrust
SplunkTrust

Yes, this is a great use for a dashboard. It might require the advanced XML to be able to tie all of the searches to a common timerange picker, but I don't think so. I think there are some great examples of this in the UI examples app.

Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...