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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...