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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...