Getting Data In

How to ingest same events daily?

japposadas
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

woodcock
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
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

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