Splunk Search

Does ignoreOlderThan work on Windows?

ddrillic
Ultra Champion

Does ignoreOlderThan work on Windows? Apparently for windows events logs and for open files there might be issues.

Tags (1)
0 Karma
1 Solution

adonio
Ultra Champion

hello @ddrillic

for the wineventlogs, you will have to use start_from in inputs.conf under the relevant stanza/s
take a look in docs here:
http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/MonitorWindowseventlogdata
start_from

 How events are to be read. Acceptable values are oldest (meaning read logs from the oldest to the newest) and newest (meaning read logs from the newest to the oldest.)
    You cannot set this attribute to newest while also setting the current_only attribute to 1.

hope it helps

View solution in original post

0 Karma

adonio
Ultra Champion

hello @ddrillic

for the wineventlogs, you will have to use start_from in inputs.conf under the relevant stanza/s
take a look in docs here:
http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/MonitorWindowseventlogdata
start_from

 How events are to be read. Acceptable values are oldest (meaning read logs from the oldest to the newest) and newest (meaning read logs from the newest to the oldest.)
    You cannot set this attribute to newest while also setting the current_only attribute to 1.

hope it helps

0 Karma

JDukeSplunk
Builder

I monitor a set of .log files in C:\logroot and the monitor string obeys ignoreOlderThan. I don't know about WinEventLog.

[monitor://C:\logroot\wc.alfresco.txt]
disabled = 0
sourcetype=alfresco
ignoreOlderThan = 7d
index = idx_appdev
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...