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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...