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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...