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
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...