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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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