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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...