Allocating a port by IPC Broker

IPC Broker allocates the port for itself using a value in the [port] setting. If you want IPC Broker to always allocate a specific port to a sidecar, configure the following setting in the [ipc_broker] stanza in the server.conf file:

CODE
<splunkd_helper_process_name>:<service_name>:address = <value>

where:

If this setting is not configured, then IPC Broker assigns a random available port to the sidecar.

In this example:

  • IPC Broker is allocated the port 8194 using the port setting.

  • Storage is allocated the ports 5432, 5433, 5434, 8008, 6432, 5435, 2380, and 2379 using the <splunkd_helper_process_name>:<service_name>:address settings.

CODE
//server.conf

[ipc_broker]
port = 8194
postgres:postgres:address = 5432
postgres:postgres-primary:address = 5433
postgres:postgres-replica:address = 5434
postgres:patroni:address = 8008
postgres:pgbouncer:address = 6432
postgres:postgres_nanny:address = 5435 
nascent:etcd_peer:address = 2380
nascent:etcd_client:address = 2379