Splunk Search

10 TCP ports accessed by unique clients

sunnyft
Explorer

I am trying to search List the top 10 TCP ports accessed by unique IPs

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

xavierashe
Contributor
index=firewall 
    [ search index=firewall 
    | top limit=10 dest_port 
    | table dest_port ] 
| stats values(dest_port) as "Top 10 Ports" count by src_ip

View solution in original post

0 Karma

xavierashe
Contributor
index=firewall 
    [ search index=firewall 
    | top limit=10 dest_port 
    | table dest_port ] 
| stats values(dest_port) as "Top 10 Ports" count by src_ip
0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...