Splunk Enterprise Security

How to black list all the ports except the approved ports using interesting ports list in splunk enterprise security?

prammod123
Explorer

I would like to black list (get alert) for all the ports excepting the approved port list using interesting port list.

Please advise on the available options to achieve this.

0 Karma

Azeemering
Builder

Since the interesting ports list in ES is stored in a lookup you can build a SPL query alert based on:

    |  inputlookup interesting_ports.csv

use the fields is_prohibited=true I guess.

alt text

0 Karma

prammod123
Explorer

I think re articulating the question would help to get the nearest answer.. I want to mark every other port as prohibited except the approved ports in my environment.

0 Karma

Azeemering
Builder

Same counts for that I guess. You can modify the interesting_ports.csv to match your needs.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...