Getting Data In

Why am I not able to exclude events from getting indexed with my current props and transforms.conf?

sameera123
Explorer

Not able to exclude events from indexing on Splunk Enterprise Free version. Can anyone help me out here?

Sample data:

Name:mango
Name:Mango
Name:ManGo
Name:apple
Name:banana
Name:strawberry
Name:pineapple

props.conf

[txt1]
DATETIME_CONFIG = CURRENT
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Custom
pulldown_type = true
TRANSFORMS-set= setnull

transforms.conf

[setnull]
REGEX = mango
DEST_KEY = queue
FORMAT = nullQueue
0 Karma

javiergn
Super Champion

Your regex is case sensitive and therefore Mango != mango != manGo

Try this instead:

REGEX = (?i)mango
0 Karma

sameera123
Explorer

Want to exclude events which has mango in the event.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...