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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...