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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...