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 Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...