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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...