Developing for Splunk Enterprise

How to tell custom command that a search has been cancelled

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
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!