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
Influencer

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
Legend

Does your sourcetype match exactly?

0 Karma

strive
Influencer

Can you post your sample log event?

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...