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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...