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.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

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 ...