On This Page

Home / Edge/ Reference/ CLI Reference/mode-outpost

mode-outpost

Configures instance as a Cribl Outpost.

For more information, see:

Usage:

./cribl mode-outpost \
  -H leader.example.com \
  -p 4200 \
  -S 1 \
  -O tls://0.0.0.0:4200?tls.certPath=/opt/certs/outpost.crt&tlc.privKeyPath=/opt/certs/outpost.key

The -H <host> -p <port> -O <outpostUrl> parameters are required.

Arguments:

OptionDefinition
-d <deploymentId>Deployment ID for reporting telemetry on multiple deployments.
-H <host>Leader’s hostname or IP address.
-p <port>Leader’s cluster communications port.
-n <certName>Name of the saved certificate to use. Mutually exclusive with -k or -c.
-k <privKeyPath>Path on server to the private key to use. Accepts PEM format. Can reference $ENV_VARS.
-c <certPath>Path on server to the certificate to use. Accepts PEM format. Can reference $ENV_VARS.
-u <authToken>Authentication token to include as part of the connection header.
-S <tls>Sets, or disables, secure communication between Leader and the Outpost via TLS. Accepts: [“true”, “false”].
-e <envRegex>Regex to select environment variables to report to Leader. Example: "/test/".
-t <tags>Tag values to report to Leader.
-O <outpostUrl>URL to configure the Outpost listener. Takes the same format as CRIBL_DIST_LEADER_URL. Example: tls://0.0.0.0:4200?tls.certPath=/opt/certs/outpost.crt&tlc.privKeyPath=/opt/certs/outpost.key.