Getting Data In

Why is nullQueue configuration not working?

wegscd
Contributor

/opt/splunk/etc/system/local/transforms.conf

[WhirlpoolMWGBad]
REGEX=200
DEST_KEY=queue
FORMAT=nullQueue

/opt/splunk/etc/system/local/props.conf

[WhirlpoolMWGLog]
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
pulldown_type = 1
TRANSFORMS-WhirlpoolMGWBad = WhirlpoolMGWBad

splunkd is restarted.

lines containing '200' should not get indexed, but they are still getting indexed. What am I missing?

0 Karma
1 Solution

Ayn
Legend

You have a transform name mismatch between your props.conf and transforms.conf. In props.conf you call the transform "WhirlpoolMGWBad" whereas you call the transform "WhirlpoolMWGBad" (you've switched the W and G) in transforms.conf.

View solution in original post

Ayn
Legend

You have a transform name mismatch between your props.conf and transforms.conf. In props.conf you call the transform "WhirlpoolMGWBad" whereas you call the transform "WhirlpoolMWGBad" (you've switched the W and G) in transforms.conf.

wegscd
Contributor

d'oh! must have looked at that 5 times. Thank you for that.

is there a way to change the logging levels so that Splunk will log if a non-existent stanza is referenced?

0 Karma

starcher
SplunkTrust
SplunkTrust

Have you made sure the props and transforms are on all of your indexers? For Nullqueue work it needs to be on the indexers receiving the events.

0 Karma

MuS
SplunkTrust
SplunkTrust

Does your sourcetype match exactly?

0 Karma

strive
Influencer

Can you post your sample log event?

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...