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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...