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 | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...