Splunk Enterprise

Is that a Splunk command that lists all receiving ports with Splunk CLI?

GaetanVP
Contributor

Hello Splunkers,

I have a quick question, is there a Splunk command to list all receiving port enable on a specific instance ? 

I know you can check that from the GUI under "Settings/Forwarding and receiving/Configure Receiving".
There is also a CLI to a add a receiving port : 

 

 

splunk enable listen <port> -auth <username>:<password>

 

 

Info I got here : https://docs.splunk.com/Documentation/Forwarder/9.0.1/Forwarder/Enableareceiver

So I am wondering if there is a command to list all port enable on a machine.

 

Thanks a lot,
GaetanVP


 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
splunk display listen
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust
splunk display listen
---
If this reply helps you, Karma would be appreciated.

isoutamo
SplunkTrust
SplunkTrust

And tcp + udp port with

splunk list tcp
splunk list udp
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...