Splunk Enterprise Security

How to Write query for TCP port activity in splunk ES

shivarpith
Path Finder

Hi,

We are trying to analyze traffic on TCP ports both inbound and outbound in Splunk ES excluding the ports 80,443

0 Karma
1 Solution

muebel
SplunkTrust
SplunkTrust

Hi shivarpith, something like this will show you what the Network Traffic Datamodel is seeing:

| datamodel Network_Traffic All_Traffic search | search All_Traffic.src_port!=80 All_Traffic.src_port!=443 All_Traffic.dest_port!=80 All_Traffic.dest_port!=443

This will give you the raw events.

Please let me know if this helps!

View solution in original post

0 Karma

muebel
SplunkTrust
SplunkTrust

Hi shivarpith, something like this will show you what the Network Traffic Datamodel is seeing:

| datamodel Network_Traffic All_Traffic search | search All_Traffic.src_port!=80 All_Traffic.src_port!=443 All_Traffic.dest_port!=80 All_Traffic.dest_port!=443

This will give you the raw events.

Please let me know if this helps!

0 Karma

MuhammadAbdelAa
New Member

its works for me , big Thanks 🙂

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