Reporting

How to get well known ports report?

yanevbt
New Member

Hello, I am new to splunk. I am trying to run a report to show what servers our users connect to and on what ports.  the report is going to be reviewed by non IT business unit so it will be nice if the report can have a description to the ports (example: NetBIOS, SQL, LDAP, etc).  Is there a way to do that?  Thank you in advance!

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

After producing the report (using network traffic logs, perhaps), use a lookup file to map port number to services.  The lookup file (I'll call it ports.csv) might look like this:

port,service
22,ssh
53,DNS
80,HTTP
443,HTTPS

and it would be used something like this:

... | lookup ports.csv port OUTPUT service
---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...