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!

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 ...