Splunk Dev

How to tell custom command that a search has been cancelled

jfriel
New Member

I have a python function that I call from a custom command with some keywords and options.
This function can take several minutes to complete.

Is there a way to terminate/tell my python function to terminate when I cancel the search it was called from?

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...