Getting Data In
Highlighted

How to ingest same events daily?

Explorer

I have a file and I want it to ingest daily. What are the proper inputs and props should I used?

I tried setting CHECK_METHOD = mod_time on props and TIME_BEFORE_CLOSE = 86400
but it just ingests all new events.

0 Karma
Highlighted

Re: How to ingest same events daily?

Esteemed Legend

The easiest way to do this is to setup a cron job on your Forwarder and use add oneshot:
https://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorfilesanddirectoriesusingtheCLI
This ensures that you ALWAYS bypass the fishbucket and send in the entire file.

0 Karma