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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...