All Apps and Add-ons

Splunk Python Helpers and getting interval from config file to use in input script

brent_weaver
Builder

I am writing a modular input using the App Builder (which is super cool) and I need to make my API calls to be in sync with when Splunk schedules the script to run. I notice there are allot of helper functions where you can mine data from your config you create, however I do not see one for interval. Am I missing it?

0 Karma

brent_weaver
Builder

I found my my answer. If I use helper.get_arg(“interval”) I get the value I am looking for.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...