Getting Data In

Applying NullQueue REGEX to ALL sources

tewner
Explorer

Hi Guys -

I'm trying to remove "DEBUG" messages from ALL inputs. What do I put in props.conf to apply a transform to all incoming data - or am I going about this wrong?

Thanks!
-Mike

1 Solution

dwaddle
SplunkTrust
SplunkTrust

If this is really what you want to do, you can put it under the [default] stanza in $SPLUNK_HOME/etc/system/local/props.conf. This should cause your TRANSFORMS rule to fire for everything.

I am concerned it could wind up being overzealous, though. If your regex matches on just the word "DEBUG", it has a lot of chances for false positives and will also hit Splunk's _internal index. Before doing this in production, test test test...

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

If this is really what you want to do, you can put it under the [default] stanza in $SPLUNK_HOME/etc/system/local/props.conf. This should cause your TRANSFORMS rule to fire for everything.

I am concerned it could wind up being overzealous, though. If your regex matches on just the word "DEBUG", it has a lot of chances for false positives and will also hit Splunk's _internal index. Before doing this in production, test test test...

tewner
Explorer

Thanks!!!!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.    Watch On-Demand   In this Tech Talk, Splunk platform specialists ...

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...