Getting Data In

Input data as cron schedule version 6.4

katalinali
Path Finder

I would like to input data into splunk at a specific time every day (e.g interval = 45 0 * * *), but I find it is totally not working. If my syntax is not correct or it's a bug. If anyone try it on Splunk 6.4. Thanks.

Tags (1)
0 Karma

gfuente
Motivator

The cron syntax you need to use is:

interval = 45 0 * * * 

There are five values

Regards

0 Karma

katalinali
Path Finder

The system convert my word automatically interval = 45 0 with 3 stars is what I set in inputs.conf

0 Karma

gfuente
Motivator

Could you post the complete contents of your inputs.conf file. Also be sure that the script you want to run has the appropiate permissions

0 Karma

Masa
Splunk Employee
Splunk Employee

I'm with gfuente. Can you please add full contents of the inputs.conf?

By the way, according to inputs.conf.spec file, interval attribute works only for scripted input.
Are you using either one of them?

0 Karma

katalinali
Path Finder

I need to set the schedule in DB connect input, so "interval" is what I need to setup. I will try to add the schedule into inputs.conf directly and take a look. Thanks.

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 ...