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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...