Dashboards & Visualizations

How do I add a "stop" button to a dashboard?

briancronrath
Contributor

When I run individual searches, I can stop them from running when I realize they are going to run far too long. Is there an option to add this stop functionality to dashboards? A master stop button would be ideal, but I'd settle even for individual stop buttons on panels.

Thank you!

Tags (1)
1 Solution

iamarkaprabha
Contributor

Hi ,
here is the solution I found out . It uses a dropdown menu, rather than a button

 <label>Run query</label>
 <choice value="1">No</choice>
 <choice value="2">Yes</choice>
 <default>1</default>
 <change>
   <condition value="1">
     <unset token="run_consolidations"></unset>
   </condition>
   <condition value="2">
     <set token="run_consolidations">dbxquery</set>
   </condition>
 </change>


 <search>
   <query>| $run_consolidations$ connection=......

The run_consolidations token initially hides the chart and stops the query from running. When set by the dropdown, the chart is shown and query is run.

View solution in original post

iamarkaprabha
Contributor

Hi ,
here is the solution I found out . It uses a dropdown menu, rather than a button

 <label>Run query</label>
 <choice value="1">No</choice>
 <choice value="2">Yes</choice>
 <default>1</default>
 <change>
   <condition value="1">
     <unset token="run_consolidations"></unset>
   </condition>
   <condition value="2">
     <set token="run_consolidations">dbxquery</set>
   </condition>
 </change>


 <search>
   <query>| $run_consolidations$ connection=......

The run_consolidations token initially hides the chart and stops the query from running. When set by the dropdown, the chart is shown and query is run.

worshamn
Contributor

I don't know about a master stop button, but each panel in its lower right corner should have a stop button while its search is still running.

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...