> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/c/cribl-on-prem.md).

# Cribl On Prem

Cribl is a data pipeline platform. OctoXLabs uses the Cribl leader API to add Cribl Edge and Cribl Stream worker nodes of a self-hosted deployment to the inventory.

## Use cases

* List Cribl Edge and Stream nodes.

```
Adapters = cribl-on-prem
```

* Find Cribl nodes not seen in the last 30 days.

```
Adapters = cribl-on-prem AND NOT LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination       | Port                | Protocol |
| ------------------- | ----------------- | ------------------- | -------- |
| OctoXLabs connector | Cribl leader node | 9000 (configurable) | HTTPS    |

### Required permissions

| Scope or role                                                                         | Permission | Needed for              |
| ------------------------------------------------------------------------------------- | ---------- | ----------------------- |
| Local user with at least read-only access to the Edge fleets and Stream worker groups | Read       | Edge and Stream workers |

## Create credentials in Cribl On-Prem

{% stepper %}
{% step %}

### Choose a local user

Use a local Cribl user. It logs in to the leader API to get an access token.
{% endstep %}

{% step %}

### Check access

The user needs at least read-only access to the Edge fleets and Stream worker groups that you want to collect.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter            | Required | Type     | Default | Description                                                                                                                                                              |
| -------------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| IP                   | Yes      | Text     |         | IP address or hostname of the Cribl leader node.                                                                                                                         |
| Port                 | No       | Number   | 9000    | Port of the leader API.                                                                                                                                                  |
| Is Secure            | No       | Boolean  | True    | Use HTTPS. Turn it off if TLS is not configured on the leader.                                                                                                           |
| Username             | Yes      | Text     |         | Local Cribl user.                                                                                                                                                        |
| Password             | Yes      | Password |         | Password of the user.                                                                                                                                                    |
| Fetch Edge Workers   | No       | Boolean  | True    | Collect Cribl Edge nodes (fleets) as devices with hostname, OS, CPU and memory.                                                                                          |
| Fetch Stream Workers | No       | Boolean  | True    | Collect Cribl Stream worker nodes (worker groups) as devices. Turn off the product your deployment does not use. The connection test checks only the enabled operations. |
| Per Page             | No       | Number   | 20      | Workers requested per page.                                                                                                                                              |
| Proxy                | No       | Text     | Empty   | Proxy address.                                                                                                                                                           |
| Timeout              | No       | Number   | 30      | Seconds to wait for API responses.                                                                                                                                       |

## Troubleshooting

No adapter-specific error messages are documented for this adapter.

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
