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