Getting Data In

Use tokens in a saved search dispatch via the Python SDK

cdhippen
Path Finder

Currently we have a list of searches that we run via the Python SDK by passing in a json file that has the queries, labels, and fields. Seeing as we can save searches and use inputs in the GUI, it stands to reason that we should be able to access these searches and replace tokens within the application rather than having to maintain a large json file. Is there any way to use searches with tokens via the python sdk, perhaps the dispatch() method?

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!