Set Up Cribl Outpost
Create a Cribl Outpost to relay communication between Worker Nodes and the Leader.
Prerequisites
Cribl Outpost requires an Enterprise plan or Enterprise license. For details, see Pricing.
You can install Cribl Outpost on Linux only. Do not run an Outpost Node on the same host as a Stream Worker to avoid both Nodes competing for resources.
Create an Outpost
There are two ways of adding a new Outpost Node:
- from a binary file
- using the bootstrap script provided in the UI
Add an Outpost from a Binary File
To add a new Outpost Node using a downloaded binary file:
Go to the Cribl Download page and set the Software drop-down to
Cribl Suite (Edge and Stream)for your processor architecture.Select Download now to get the
.tgzarchive.Un-tar the install package in your directory of choice:
cd /opt/ tar xvzf cribl-<version>-<build>-<arch>.tgzSet the installation mode to
mode-outpostto connect the Outpost to the designated Leader and allow Stream Workers to connect to it in turn:/opt/cribl/bin/cribl mode-outpost / -H <leader-hostname-or-IP> / -p <port> / -u <token> / -S 1<token>must match the Leader token, to ensure a connection with the Leader.In Cribl.Cloud, get the token for your Workspace from the Worker Node modal (Add/Update Worker Node) from the Auth token field.
In an on-prem deployment, get the token from Settings > Global > System > Distributed Settings > Leader Settings > Auth token.
Configure the installation as a service and start it:
sudo /opt/cribl/bin/cribl boot-start enable -m systemd -u cribl sudo systemctl restart cribl-outpost.service
At this point your Cribl Outpost is ready for use and you can start configuring Worker Nodes to connect to it.
Add an Outpost with a Bootstrap Script
To add a new Outpost Node using a CLI bootstrap cript:
From the sidebar, select Outpost, then select an Outpost Group.
Select Add/Update Outpost Node, then select Add.
Fill and modify the deployment option fields:
- The Install package location defaults to
Cribl CDN. If desired, change this toDownload URL. - As needed, correct the target Outpost Group, as well as the Leader hostname/IP (URI).
- As needed, correct the User and User Group to run Cribl as.
- As needed, correct the Installation directory.
- The Install package location defaults to
Optionally, add Tags that you can use for filtering and grouping Outposts. Use a tab or hard return between (arbitrary) tag names.
Copy the resulting script to your clipboard.
Finally, to add the Outpost, paste the script onto the command line where you want to set up the node, and execute it.
If your script successfully added the Outpost, you will see it in the Outposts list for your selected group.
Connect Nodes to an Outpost
Worker Nodes see Outpost in the same way as a Leader Node.
This means that, to connect a Node to an Outpost, you only need to provide
the Outpost listener URL that you defined with the -O parameter, and the Leader auth token.
The Outpost doesn’t have a separate auth token. When configuring Node connection, use the auth token of the Leader.
Configure the connection either from Settings (Global > Distributed Settings > Leader Settings),
or by setting the CRIBL_DIST_LEADER_URL environment variable:
CRIBL_DIST_LEADER_URL=tcp://<leader-token>@<outpost-hostname>:<outpost-port>