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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...