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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...