Skip to content

Introduction

Cribl Stream is a data pipeline that receives, routes and transforms telemetry data. The integration sends events to an HTTP Source in Cribl Stream, authenticated with an auth token. This guide walks you through securing the HTTP Source with an auth token and gathering the values needed to create a Cribl Sink integration.

Prerequisites

Before you begin, ensure that you have:

  • Access to Cribl.Cloud, with permission to edit Sources and to commit and deploy changes in the Worker Group that will receive the events

Required Permissions

The integration needs no Cribl user or role. The auth token you add to the HTTP Source lets the integration send events to that Source and nothing else.

Add an Auth Token to the HTTP Source

Every Cribl.Cloud Worker Group comes with an HTTP Source listening on port 10080.

  1. Log in to Cribl.Cloud
  2. Select Products > Cribl Stream, then select Worker Groups and the Worker Group that will receive the events
  3. Select Data > Sources
  4. Type HTTP in Filter Sources, then select the HTTP tile
  5. Select the Source with the ID http
    • Take note of the Port on the General Settings tab. On Cribl.Cloud it is 10080
    • If the Cribl HTTP event API field on the same tab is not /cribl, take note of it too
  6. Select Authentication, then select Add Token
  7. Set Authentication method to Manual
  8. Select Generate next to the Token field, then enter a Description, such as the name of the integration
  9. Select the eye icon in the Token field, take note of the token, and store it in a safe location
  10. Select Save
  11. Select Commit, enter a commit message, then select Commit & Deploy. The Source accepts the token only after you deploy the change

For more information on HTTP Source settings, see the Cribl HTTP/S (Bulk API) Source docs page.

Find Your Ingest Address

The Base URL is the ingest address of your Cribl.Cloud organization, followed by the Source's port.

  1. In Cribl.Cloud, open your Workspace home page
  2. Take note of the Organization ID shown under the Workspace name, for example brave-example-abc1234
  3. Build the Base URL as https://default.main.<Organization ID>.cribl.cloud:<Port>
    • Example: https://default.main.brave-example-abc1234.cribl.cloud:10080
    • If your events go to a Worker Group other than default, replace default with the Worker Group name

Configuring the Integration

To configure a new Cribl integration, provide each of the values as defined below:

Integration ParameterDescription
Base URLThe Base URL you built above.

Example https://default.main.brave-example-abc1234.cribl.cloud:10080.

If the Source uses a Cribl HTTP event API other than /cribl, add it to the end. Example https://default.main.brave-example-abc1234.cribl.cloud:10080/custom
Auth TokenThe token you generated for the HTTP Source

Optional fields

Integration ParameterDescription
TLS VerificationLeave as Verify for Cribl.Cloud. For a self-hosted Source whose certificate comes from a private CA, choose Custom CA and paste that CA's certificate in PEM format into CA Certificate. For a self-signed certificate, choose Custom CA and paste the certificate itself. In both cases, the Source's certificate must name the host in the Base URL. Choose Skip only when no other option is possible.

Additional Resources