Getting Data In

Force agent to not send events before a given time

horizonsecurity
Explorer

Hi *,

I'm in development environment and I'd like to not receive all the old data from the agent.

I have one server and some agents, and I delete indexes for cleaning reasons from Splunk server, but when I restart the splunk service, all the old data comes through.

How can I tell the agents (or the server) to not send me the events before 1 day?
Or before 3 hours ... or anything custom.

Thanks!

Tags (1)
0 Karma
1 Solution

Ayn
Legend

With regular file-monitor inputs you can use the ignoreOlderThan directive. For instance

[monitor:///path/to/the/input]
ignoreOlderThan = 1d

http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Inputsconf

View solution in original post

Ayn
Legend

With regular file-monitor inputs you can use the ignoreOlderThan directive. For instance

[monitor:///path/to/the/input]
ignoreOlderThan = 1d

http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Inputsconf

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