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