> 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.cloud-and-hybrid.md).

# Cribl.Cloud and Hybrid

Cribl is a data pipeline platform. OctoXLabs uses the Cribl API to add Cribl Edge and Cribl Stream worker nodes of a workspace hosted on cribl.cloud to the inventory.

## Use cases

* List Cribl Edge and Stream nodes.

```
Adapters = cribl-cloud
```

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

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

## Before you begin

### Network

| Source              | Destination                               | Port | Protocol |
| ------------------- | ----------------------------------------- | ---- | -------- |
| OctoXLabs connector | login.cribl.cloud                         | 443  | HTTPS    |
| OctoXLabs connector | \<workspace\_name>-\<org\_id>.cribl.cloud | 443  | HTTPS    |

### Required permissions

| Scope or role                                                  | Permission | Needed for              |
| -------------------------------------------------------------- | ---------- | ----------------------- |
| API credential with at least read-only access to the workspace | Read       | Edge and Stream workers |

## Create credentials in Cribl.Cloud and Hybrid

{% stepper %}
{% step %}

### Sign in

Sign in to the Cribl.Cloud console as an organization admin.
{% endstep %}

{% step %}

### Open API credentials

Open **Organization** and select **API Credentials**.
{% endstep %}

{% step %}

### Add a credential

Click **Add Credential** and name it.
{% endstep %}

{% step %}

### Grant access

Grant the credential at least read-only access to the workspace that contains the Edge and Stream workers.
{% endstep %}

{% step %}

### Copy the credentials

Copy the **Client ID** and **Client Secret**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter            | Required | Type     | Default | Description                                                                                                                                                              |
| -------------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Workspace Name       | No       | Text     | main    | First part of the workspace URL: `https://<workspace_name>-<org_id>.cribl.cloud`.                                                                                        |
| Organization ID      | Yes      | Text     |         | Second part of the workspace URL. Also shown on the organization overview page of the console.                                                                           |
| Client ID            | Yes      | Text     |         | Client ID of the API credential.                                                                                                                                         |
| Client Secret        | Yes      | Password |         | Client secret of the credential.                                                                                                                                         |
| 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 %}
