ON THIS PAGE

Home / Stream/ Reference/ CLI Reference/mode-managed-edge

mode-managed-edge

Configures Cribl Edge as an Edge Node.

Running this command resets all the related options. This means that even if you want to change only one option, you also need to provide values for all the other arguments.

When you generate bootstrap scripts via the UI to add or update Workers, these scripts automatically set the -S option according to the Leader TLS configuration.

Usage:

./cribl mode-managed-edge 127.0.0.1 -p 9420 && ./cribl restart

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

Arguments:

OptionDefinition
-d <deploymentId>Deployment ID for reporting telemetry on multiple deployments.
-H <host>Leader’s hostname or IP address. Required.
-p <port>Leader’s cluster communications port Example: 4200. Required.
-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 Worker/Edge Nodes 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.
-g <group>Fleet to report to Leader.