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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...