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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...