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, an upvote would be appreciated.
Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...

Reminder! Splunk Love Promo: $25 Visa Gift Card for Your Honest SOAR Review With ...

We recently launched our first Splunk Love Special, and it's gone phenomenally well, so we're doing it again, ...