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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...