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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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