Dashboards & Visualizations

Disable cancelling of jobs when dashboard is closed

cschmidt_hurric
Path Finder

I'm trying to build a custom dashboard with some added JS that adds a button for sending the search job to the background. It actually works great, except for the fact that closing the dashboard automatically POSTs...

{"action": "cancel"} 

To the search job's /control endpoint. Is there a way to disable whatever is listening for the window close event, so that my job isn't cancelled?

0 Karma

woodcock
Esteemed Legend

For situations like that, I usually schedule the saved searches to run periodically and then use loadjob in the dashboard panels to pull up the results of the most recent search.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...