Getting Data In

ignoreOlderThan in inputs.conf

siva_cg
Path Finder

Hi All,

We have Splunk environment with nearly 1000 Universal Forwarders sending logs to Indexers. These Universal Forwarders are managed by Deployment Server.

Now the issue is few of the logs from a folder are missing on Indexers. By running the btool and troubleshooting commands, we came to know that the file is being ignored with the below error:

type = ignored (modtime fell behind window of 604800 seconds ago)

But the files are modified and updated even today. So could you please help us what could be the issue and how to resolve this? The inputs stanza configured is as below:

[monitor:///myfolder/]
whitelist = (a|b|c).log
index = myindex
sourcetype = mysourcetype
ignoreOlderThan = 7d
recursive = true

Thanks in advance.

0 Karma

somesoni2
Revered Legend

When a monitoring is setup with ignoreOlderThan attribute, it'll exclude all the files which were last modified earlier than the set value. Those excluded files are not included back automatically when they are actually updated. To have Splunk re-evaluate the monitoring file list, you need to get the Splunk (forwarder) instance restarted. If you've a script/utility using which you can re-start all forwarders, do that. Otherwise, you can make some changes to existing app or create a new dummy apps and assign to all fwd with restartSplunkd=true.

0 Karma

ddsnatalia
New Member

Hi @somesoni2 ,

I have a very similar issue, but we use heavy forwarder and there are thousands of files that have already been indexed (<7days old) and are stored in the same directory; if I change the ignoreOlderThan attribute to say 90 days, will already processed files be re-indexed again?

Thank you,

Nat

0 Karma

siva_cg
Path Finder

Thank you very much @somesoni2. This clearly explains why logs are not being monitored. We will restart the UF as suggested.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
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 ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...