Splunk Search

Discarding of Events based on some column value

abhayneilam
Contributor

Hi,
I have a JSON file which has a key value pair. I want to discard the events which contains "Name":"John" ( I mean if "Name" column is having "John" value ). The events which contains this "John" name should be discarded or should not be indexed.

Please let me know the possible ways !!

Regards,
Abhay

Tags (2)
0 Karma
1 Solution

theouhuios
Motivator

Please see this

You can use regex patterns to match and set that to be dumped to nullQueue.

View solution in original post

theouhuios
Motivator

Please see this

You can use regex patterns to match and set that to be dumped to nullQueue.

abhayneilam
Contributor

Thanks It is now working ..

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...