Getting Data In

Trying to filter logs in the inputs- not working

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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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