Hi All,
How do I get the browser URL for the search query while executing a custom command in a python script? I know for scripted alerts this value is stored in SPLUNK_ARG_6. But this variable is not set while I am executing custom commands. Can anybody help me out here?
SPLUNK_ARG_0 Script name SPLUNK_ARG_1 Number of events returned SPLUNK_ARG_2 Search terms SPLUNK_ARG_3 Fully qualified query string SPLUNK_ARG_4 Name of saved search SPLUNK_ARG_5 Trigger reason (for example, "The number of events was greater than 1") SPLUNK_ARG_6 Browser URL to view the saved search SPLUNK_ARG_8 File in which the results for this search are stored (contains raw results)