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!

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