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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...