Getting Data In

Need to filter some logs from my inputs

saravanababumr
New Member

Trying to filter the backdated logs which has appeared from till yesterday and start with recent logs

[monitor:///dir1/app/app1/jboss/server/default/log/localhost_access_log.*]
index = index_filter_local
_blacklist = (localhost_access_log.2011-11-30.log|localhost_access_log.2011-12-[01-11])

I tried to filter using the _blacklist but this is not working , i don't see the indexing itself is happening

Tags (1)
0 Karma

Damien_Dallimor
Ultra Champion

Have you tried using the "ignoreOlderThan" property in your monitor stanza ?

[monitor:///dir1/app/app1/jboss/server/default/log/localhost_access_log.*] 
index = index_filter_local
ignoreOlderThan = 1d
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...