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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...