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.
Get Updates on the Splunk Community!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...