Splunk Enterprise

Filtering the events using transforms

vihar254
Loves-to-Learn Lots

Hi,

I am trying to filter the events using LOGIN keyword and drop remaining events. I am trying with the below configuration and it is not working. Any suggestions please?

props.conf

[test_sourcetype]

TRANSFORMS-sample = test_authlog,setnull_test

 

transforms.conf

[test_authlog]

REGEX = (LOGIN)

DEST_KEY = queue

FORMAT = indexQueue

 

[setnull_test]

REGEX = (?!LOGIN)

DEST_KEY = queue

FORMAT = nullQueue

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

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 ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...