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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...