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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...