> 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/l/logsign.md).

# Logsign

|                            |                                 |
| -------------------------- | ------------------------------- |
| Category                   | SIEM                            |
| Asset types                | Devices                         |
| Authentication             | API key                         |
| Direction                  | OctoXLabs → Logsign (read only) |
| Supported Logsign versions | Not specified                   |
| Available since            | Not specified                   |

Logsign is a SIEM platform. OctoXLabs reads the data collection list of Logsign, which holds the hosts that send logs, and adds them to the device inventory.

## Use cases

* **List log sources known to Logsign.** Review the hosts that send logs to Logsign.

```
Adapters = logsign
```

* **Find Logsign hosts that other tools do not see.** List hosts that Logsign reports but Active Directory does not.

```
Adapters = logsign AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination    | Port               | Protocol |
| ------------------- | -------------- | ------------------ | -------- |
| OctoXLabs connector | Logsign server | 443 (configurable) | HTTPS    |

Clear **SSL** to use HTTP.

### Required permissions

Not verified: the sources do not name a role. The API key is read from the Logsign server file.

## Create credentials in Logsign

{% stepper %}
{% step %}

### Connect to the server

Connect to the Logsign server.
{% endstep %}

{% step %}

### Read the key

Run `cat /opt/logsign/api_key` and copy the API key.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                       |
| --------- | -------- | ------- | ------- | ----------------------------------------------------------------- |
| IP        | Yes      | String  | None    | IP address of the Logsign host.                                   |
| Port      | No       | Integer | 443     | Port number.                                                      |
| API Key   | Yes      | String  | None    | API key. The connector sends it as the `api_key` query parameter. |
| SSL       | No       | Boolean | True    | Use HTTPS.                                                        |
| Timeout   | No       | Integer | 30      | Seconds to wait for an API response.                              |

## What the connection test does

The test calls `/test_api` with the API key and passes when the response has `success` true.

## API endpoints called

| Method | Path                    | Purpose                                                                                                             |
| ------ | ----------------------- | ------------------------------------------------------------------------------------------------------------------- |
| GET    | /test\_api              | Connection test.                                                                                                    |
| GET    | /data\_collection\_list | Lists data collection entries. Entries with the same host are merged and their descriptions are joined with commas. |

## Fields fetched

| Logsign field | OctoXLabs field                               |
| ------------- | --------------------------------------------- |
| host          | Hostname (primary identifier) and IpAddresses |
| type          | collector\_type (raw data)                    |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                                                            |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Read the status code and body in the message, then check the credentials, permissions and URL. |

## Change history
