Getting Data In

Question about blacklist entry

jangid
Builder

I want to exclude all files that contain some keyword from splunk forwarder, I have added an entry in prop.conf.

[monitor:/home/default/log]
blacklist = (WARNING|FATAL|ERROR$)

but still my search result return some file that contain WARNING keyword in the file name.

can you please tell me what is the wrong here?

Tags (1)
0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee

It may need to be (WARNING.*|FATAL|ERROR$) in your regex. Is the file name only WARNING or can it contain other characters at the end?

View solution in original post

sdaniels
Splunk Employee
Splunk Employee

It may need to be (WARNING.*|FATAL|ERROR$) in your regex. Is the file name only WARNING or can it contain other characters at the end?

jangid
Builder

Thanks sdaniels

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, ...