> 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/logrhythm-siem.md).

# LogRhythm SIEM

|                                   |                                        |
| --------------------------------- | -------------------------------------- |
| Category                          | SIEM                                   |
| Asset types                       | Devices                                |
| Authentication                    | Bearer token (Admin API)               |
| Direction                         | OctoXLabs → LogRhythm SIEM (read only) |
| Supported LogRhythm SIEM versions | Not specified                          |
| Available since                   | Not specified                          |

LogRhythm SIEM is a security information and event management platform. OctoXLabs reads the hosts known to the LogRhythm Platform Manager, optionally with their agent details, and adds them to the device inventory.

## Use cases

* **Find log sources that were updated long ago.** Last seen comes from `dateUpdated`.

```
Adapters = logrhythm-siem AND NOT LastSeen last now-90d/d
```

* **Find hosts that send logs but have no EDR.** List LogRhythm hosts that CrowdStrike does not report.

```
Adapters = logrhythm-siem AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                | Port                           | Protocol |
| ------------------- | -------------------------- | ------------------------------ | -------- |
| OctoXLabs connector | LogRhythm Platform Manager | 8501 (configurable, Admin API) | HTTPS    |

Clear **SSL** to use HTTP.

### Required permissions

| Scope or role                                                              | Permission | Needed for                                 |
| -------------------------------------------------------------------------- | ---------- | ------------------------------------------ |
| Global Admin, or Restricted Admin with elevated View and Manage privileges | Required   | Creating the third-party application token |

Per the baseline, only Global Admins or Restricted Admins with elevated View and Manage privileges can generate the token. See the [LogRhythm API documentation](https://developers.exabeam.com/logrhythm-siem/docs/register-third-party-applications-for-the-api).

## Create credentials in LogRhythm SIEM

{% stepper %}
{% step %}

### Open Deployment Manager

Log in to the Client Console as a Global Administrator. On the main toolbar, click **Deployment Manager**.
{% endstep %}

{% step %}

### Create an application

Click the **Third Party Applications** tab. Right-click the blank area of the grid and click **New**. Type an **Application Name** and **Description**, then click **OK**.
{% endstep %}

{% step %}

### Open properties

Right-click the new application and click **Properties**. Optionally change the number of days the token is valid.
{% endstep %}

{% step %}

### Generate the token

Click **Generate Token**, enter the password for the user and click **OK**.
{% endstep %}

{% step %}

### Copy the token

Copy the generated token. It appears only once and is not stored. If you do not copy it, you must generate it again.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default | Description                                                                                                                                     |
| ----------- | -------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| IP          | Yes      | String  | None    | IP address or host name of the LogRhythm Platform Manager.                                                                                      |
| Port        | No       | Integer | 8501    | Port of the LogRhythm Admin API.                                                                                                                |
| SSL         | No       | Boolean | True    | Use HTTPS.                                                                                                                                      |
| API Key     | Yes      | String  | None    | Bearer token for the Admin API.                                                                                                                 |
| Enrich Data | No       | Boolean | False   | Also fetch agents and add agent version, status, last heartbeat and active log source count to each host. It slightly increases discovery time. |
| Timeout     | No       | Integer | 30      | Seconds to wait for an API response.                                                                                                            |

## What the connection test does

The test requests one host (`count` 1, `excludeAIERecords` true). It passes when the answer is a JSON list.

## API endpoints called

| Method | Path                 | Purpose                                                                        |
| ------ | -------------------- | ------------------------------------------------------------------------------ |
| GET    | /lr-admin-api/hosts  | Lists hosts in pages of 1000 with `offset` and `count`, excluding AIE records. |
| GET    | /lr-admin-api/agents | Lists agents in pages of 1000. Only with Enrich Data.                          |

## Fields fetched

| LogRhythm SIEM field             | OctoXLabs field                |
| -------------------------------- | ------------------------------ |
| name                             | Hostname (primary identifier)  |
| dateUpdated                      | Last seen                      |
| hostIdentifiers (type IPAddress) | IpAddresses                    |
| osVersion                        | OS.FullOsString                |
| os                               | OS.Type                        |
| Last word of osVersion           | OS.Version                     |
| osType                           | Category                       |
| agent.version                    | AgentVersions (logrhythm-siem) |

Agent status, last heartbeat and active log source count are kept as raw data and are not mapped to OctoXLabs fields.

## 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
