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!

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...