Getting Data In

What uses the management port?

matt
Splunk Employee
Splunk Employee

Under what circumstances does the splunkd service need to be accesable by anyone/thing besides the http server?

Tags (2)
1 Solution

jrodman
Splunk Employee
Splunk Employee

The management port is used by all things that need to communicate TO the splunkd, excepting forwarders.

Essentially the management port is a request-response model communication path, implemented as REST over HTTP (historically SOAP was used in older products). Thus anything that is a request with a result occurs over the management port. Forwarding is a continuous stream and has its own protocol.

Things that will have to access the httpd.

  • the Splunk command line for most commands
  • SplunkWeb
  • distributed search
  • The summary backfill script (which invokes the splunk commandline)
  • any REST clients of your own creation
  • In splunk 3.x, the scheduled search launcher

View solution in original post

arunsundaram
New Member

management port is required for internal communication primarily between the splunk instances in short
We can change this if we require by editing the configuration files.
several other ports are 8000 web port 9997 - incoming port 8080 - replication port

0 Karma

Jag
Splunk Employee
Splunk Employee

Used by deployment clients as well. This is is specified in deploymentclient.conf with attribute 'targetUri'.

jrodman
Splunk Employee
Splunk Employee

The management port is used by all things that need to communicate TO the splunkd, excepting forwarders.

Essentially the management port is a request-response model communication path, implemented as REST over HTTP (historically SOAP was used in older products). Thus anything that is a request with a result occurs over the management port. Forwarding is a continuous stream and has its own protocol.

Things that will have to access the httpd.

  • the Splunk command line for most commands
  • SplunkWeb
  • distributed search
  • The summary backfill script (which invokes the splunk commandline)
  • any REST clients of your own creation
  • In splunk 3.x, the scheduled search launcher

View solution in original post

V_at_Splunk
Splunk Employee
Splunk Employee

Unless I'm sorely mistaken, CLI communicates with splunkd via the mgmt port.

benstraw
Splunk Employee
Splunk Employee

yes, the CLI communicates with splunkd via the management port.

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!