Getting Data In

Send all Logmessages witch contain DEBUG to /dev/null on splunkforwarder-6.0.3-204106-AIX-powerpc

pit4getit
Explorer

Cant get DEBUG messages filtered out at all on splunkforwarder.

Did create $SPLUNKHOME/etc/system/local/transforms.conf

[debug-setnull]
REGEX = DEBUG
DEST_KEY = queue
FORMAT = nullQueue

Did copy props.conf drom default to $SPLUNKHOME/etc/system/local/props.conf

[source::.../*.log]
TRANSFORMS = debug-setnull

restarted splunkforwarder

Result: Still get DEBUG Messages sent to Splunkserver.
Don't know whi it not works. Does forwarder works not with transforms.conf?

if run check debug, get following message.
splunk btool check –debug
 -> No spec file for: /usr/local/splunk/splunkforwarder/etc/system/local/transforms.conf

Thanks for help
Peter

0 Karma

jameshgibson
Path Finder

You need to set this up on the indexer not the forwarder as that's where these rules are applied.

pit4getit
Explorer

Thanks works when is configured at indexer.

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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...