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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...