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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...