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!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...