Splunk Search

How to filter out one field events base on other field with two events?

Rithekakan
Path Finder

Hi All,
I have this report 

Rithekakan_2-1657294246159.png

 

My requirement is only show in table those event that do not have the Plugin Name = "TLS Version 1.1 Protocol Deprecated"  with the Port= 8443 OR =8444 as I have fill color with yellow. But, still keep show the event  that have Plugin Name = "TLS Version 1.1 Protocol Deprecated " with other Port exclude Port 8443 OR 8444.
I am using below search

Rithekakan_3-1657294973102.png

and the result show only Plugin Name = "TLS Version 1.1 Protocol Deprecated " with other port exclude Port 8443 OR 8444.
I want a result show all Plugin Name...... exclude Plugin Name = "TLS Version 1.1 Protocol Deprecated"  that have  Port= 8443 OR =8444
Any suggestions?

Labels (3)
Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The logic regarding the Port field is incorrect.  (Port!=8443 OR Port!=8444) will not exclude anything because every port number is either not 8443 or not 8444.  Perhaps (Port!=8443 AND Port!=8444) is what was intended?  Another way to write it is NOT (Port=8443 OR Port=8444)

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

The logic regarding the Port field is incorrect.  (Port!=8443 OR Port!=8444) will not exclude anything because every port number is either not 8443 or not 8444.  Perhaps (Port!=8443 AND Port!=8444) is what was intended?  Another way to write it is NOT (Port=8443 OR Port=8444)

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...