> 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/i/ibm-instana.md).

# IBM Instana

IBM Instana is an application performance monitoring platform. OctoXLabs reads the host snapshots that Instana monitors, including offline hosts, and the Instana users.

## Use cases

* Find Instana monitored hosts by operating system.

```
Adapters = ibm-instana AND OS.Type = Linux
```

* Find monitored servers that are not covered by your EDR.

```
Adapters = ibm-instana AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                                                                 | Port | Protocol |
| ------------------- | ------------------------------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Your Instana host (`{unit}-{tenant}.instana.io` for cloud tenants, or your internal domain) | 443  | HTTPS    |

### Required permissions

| Scope or role                                                         | Permission | Needed for                     |
| --------------------------------------------------------------------- | ---------- | ------------------------------ |
| API token with permission to read infrastructure monitoring snapshots | Read       | Devices                        |
| API token with permission to read users                               | Read       | Users (when Fetch Users is on) |

## Create credentials in IBM Instana

{% stepper %}
{% step %}

### Open API tokens

Log on to your Instana account and click **Settings** > **Security & Access** > **API Tokens**.
{% endstep %}

{% step %}

### Create the token

Click **New API Token** and enter a name.
{% endstep %}

{% step %}

### Choose permissions

Select the permissions for the token. OctoXLabs needs to read infrastructure snapshots, and users if Fetch Users is on. Exact Instana permission names are not verified.
{% endstep %}

{% step %}

### Create it

Click **Create** and copy the token.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default | Description                                                                                                                                                                |
| ------------ | -------- | ------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain       | Yes      | Text    | None    | Host name of your Instana instance without `http` or `https`. Cloud example: `mycompany-prod.instana.io`. Self-hosted example: `instana.company.com`.                      |
| Api Token    | Yes      | Text    | None    | API token.                                                                                                                                                                 |
| Is Secure    | No       | Boolean | `true`  | Use HTTPS.                                                                                                                                                                 |
| Fetch Users  | No       | Boolean | `true`  | Fetch user data.                                                                                                                                                           |
| Thread Count | No       | Integer | `32`    | Parallel threads for snapshot details (1 to 32).                                                                                                                           |
| Sleep Time   | No       | Integer | `0`     | Delay in seconds between thread batches. Increase it when rate limit errors appear.                                                                                        |
| Host Size    | No       | Integer | `1000`  | Maximum number of host snapshots in a single request (minimum 100). Increase it if you have more hosts. Instana documents no maximum, so lower the value if errors appear. |
| Proxy        | No       | Text    | None    | Proxy in `host:port` form.                                                                                                                                                 |
| Timeout      | No       | Integer | `30`    | Seconds to wait for API responses.                                                                                                                                         |

## Troubleshooting

| Error message                                                                                                   | Cause                                                       | Fix                        |
| --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | -------------------------- |
| `Snapshot count (<n>) reached host_size limit (<m>). Some hosts may be missing. Consider increasing host_size.` | The host list is as long as Host Size. Logged as a warning. | Increase Host Size.        |
| `Max retries exceeded for <url>`                                                                                | The API kept returning HTTP 429.                            | Run discovery again later. |

## Change history

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