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?
helper.get_arg(“interval”) is not working with me.
I used helper.get_input_stanza() to retrieve the stanza information as a dict. for the dict you will find the interval value.
Thanks,
Awni
I found my my answer. If I use helper.get_arg(“interval”) I get the value I am looking for.