On This Page

Home / Edge/ Set Up Cribl Edge/ Connect Through Cribl Outpost/Set Up Cribl Outpost

Set Up Cribl Outpost

Create a Cribl Outpost to relay communication between Edge 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:

Add an Outpost from a Binary File

To add a new Outpost Node using a downloaded binary file:

  1. Go to the Cribl Download page and set the Software drop-down to Cribl Suite (Edge and Stream) for your processor architecture.

  2. Select Download now to get the .tgz archive.

  3. Un-tar the install package in your directory of choice:

    cd /opt/ 
    tar xvzf cribl-<version>-<build>-<arch>.tgz
  4. Set the installation mode to mode-outpost to 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 Edge Node modal (Add/Update Edge Node) from the Auth token field.

    In an on-prem deployment, get the token from Settings > Global > System > Distributed Settings > Leader Settings > Auth token.

  5. 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 Edge Nodes to connect to it.

Add an Outpost with a Bootstrap Script

To add a new Outpost Node using a CLI bootstrap cript:

  1. From the sidebar, select Outpost, then select an Outpost Group.

  2. Select Add/Update Outpost Node, then select Add.

  3. Fill and modify the deployment option fields:

    • The Install package location defaults to Cribl CDN. If desired, change this to Download 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.
  4. Optionally, add Tags that you can use for filtering and grouping Outposts. Use a tab or hard return between (arbitrary) tag names.

  5. 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

Edge 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>