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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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