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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...