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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...