Getting Data In

scripted input to run at top of minute

aaronkorn
Splunk Employee
Splunk Employee

Is it possible to tell Splunk to run a scripted input every 5 min at the top of the minute. Ie Script run at 11:05:00 then 11:10:00? We are running into issues with timeranges and overlap.

0 Karma
1 Solution

JSapienza
Contributor

Simple:

[script://$SPLUNK_HOME\etc\apps\AppName\bin\ScriptName.cmd]
interval = */5 * * * *
sourcetype = MySourceType

View solution in original post

JSapienza
Contributor

Simple:

[script://$SPLUNK_HOME\etc\apps\AppName\bin\ScriptName.cmd]
interval = */5 * * * *
sourcetype = MySourceType

bmacias84
Champion

Thought about using a modular input where your input can check time ever often.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...