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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...