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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...