> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plerion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sumo Logic

> Send Plerion findings and tenant audit logs to a Sumo Logic HTTP Source for search, dashboards and correlation in your SIEM

With the **[Sumo Logic integration](https://app.plerion.com/settings/integrations/add/SumoLogic/SumoLogic)**, you can send the findings a workflow selects, and your tenant's audit logs, to a Sumo Logic HTTP Source. Findings arrive once a night as they open, change and resolve, with every open finding resent once a week. Audit logs arrive as they happen.

> [!WARNING]
>
> **Note:** This is a one-way outbound integration. Plerion posts to Sumo Logic, and nothing in Sumo Logic changes Plerion.

***

## How it works

The integration holds the connection to one Sumo Logic HTTP Source. A [workflow](https://docs.plerion.com/guides/platform/workflows.md) decides what goes through it:

* **Findings:** add a Sumo Logic action to a workflow, and the findings that match its finding conditions are sent each night.
* **Tenant audit logs:** add an audit log condition to that workflow, and the tenant's audit logs are sent as they happen. A workflow can have only an audit log condition, to send audit logs and no findings.

A workflow that sends to Sumo Logic works differently from one that raises alerts:

* It uses finding conditions, an audit log condition, or both. Asset and vulnerability conditions are turned off while a Sumo Logic action is on the workflow.
* Audit logs go only to Sumo Logic. A workflow with an audit log condition can't have actions for other integrations.
* A workflow whose only action is Sumo Logic does not create alerts. The findings go to Sumo Logic directly.

***

## Steps to create a Sumo Logic HTTP Source

**1. In Sumo Logic, open the collection settings**

* Go to `Manage Data` > `Collection`. In newer Sumo Logic accounts, this is `Data Management` > `Collection`.
* Choose a Hosted Collector, or create one.

**2. Add an HTTP Logs & Metrics source**

* Select `Add Source` next to the collector.
* Choose **HTTP Logs & Metrics**.
* Enter a **Name**, for example `plerion`.
* Optionally, set a **Source Category**, for example `security/plerion`.
* Select `Save`.

**3. Copy the source URL**

Copy the URL Sumo Logic shows for the new source. It looks like `https://endpoint4.collection.us2.sumologic.com/receiver/v1/http/...`.

> [!NOTE]
>
> The URL contains the source's token. Anyone who has it can post to your source, so treat it like a password.

***

## Steps to integrate Sumo Logic with Plerion

**1. On the Plerion dashboard, go to Settings > Integrations**

![Plerion dashboard with Settings expanded and Integrations selected](https://mintcdn.com/pleriondocs/8xtCYjlATlNqKv2p/images/integrations/jira/settings-integrations-sidenav.png?fit=max\&auto=format\&n=8xtCYjlATlNqKv2p\&q=85\&s=2169fd65750b670507500adcfea7a96e)

**2. Find Sumo Logic and click the + button**

![Integrations page filtered to the Sumo Logic card with its plus button](https://mintcdn.com/pleriondocs/R-myg3gLK1qqGqbx/images/integrations/sumo-logic/sumo-logic-integration-card.png?fit=max\&auto=format\&n=R-myg3gLK1qqGqbx\&q=85\&s=2a230a5a3bb240db975e250b77e4c414)

**3. Enter the connection details**

* **Name:** a name for this destination, for example `Security operations`.
* **HTTP Source URL:** the URL you copied from Sumo Logic. Plerion stores it encrypted and never shows it again.
* **Source category (optional):** sent as the source category on every record, so you can search for `_sourceCategory=<value>`. Leave it empty to use the category set on the source.

![Sumo Logic integration form with the name, HTTP Source URL and source category filled in](https://mintcdn.com/pleriondocs/R-myg3gLK1qqGqbx/images/integrations/sumo-logic/add-sumo-logic-integration.png?fit=max\&auto=format\&n=R-myg3gLK1qqGqbx\&q=85\&s=1adf4817c20571b85a76287cc0364023)

**4. Test the connection**

Click `Test`. Plerion posts one test event to the source. In Sumo Logic, search for `_sourceName="Plerion test"` or open Live Tail to see it.

If Sumo Logic refuses the event, Plerion shows its answer, for example `401 Unauthorized` when the source was deleted or the URL is incomplete.

**5. Finalize the setup**

Click `Add`. The integration page opens, with `Send test message` and `Sync now`.

![Sumo Logic integration page showing status, source category, the Findings sync section and the Send test message button](https://mintcdn.com/pleriondocs/dqZ2M5kLMuioM6UU/images/integrations/sumo-logic/sumo-logic-integration-details.png?fit=max\&auto=format\&n=dqZ2M5kLMuioM6UU\&q=85\&s=0356cd4952f7cf0529e9f6487fa198bf)

To change the source URL later, edit the integration and paste the new URL. Leave the field empty to keep the stored one.

***

## Steps to send findings and audit logs

**1. Go to Settings > Workflows and create or open a workflow**

Give the workflow a name, for example `Send findings to Sumo Logic`.

**2. Add the findings and audit logs you want to send**

* Add one or more finding conditions, for example **Severity** is **Critical** or **High**. Each condition selects findings on its own, and a finding that matches any of them is sent.
* Choose **Add audit log condition** to also send the tenant's audit logs. It has no settings.
* To send only audit logs, add the audit log condition and no finding conditions.

**3. Add a Sumo Logic action**

* Under **Actions**, add an action and choose your Sumo Logic integration.
* Select `Save`.

![Workflow with a Critical or High severity finding condition, an audit log condition and a Sumo Logic action](https://mintcdn.com/pleriondocs/WukkI0uRbfhRleGF/images/integrations/sumo-logic/sumo-logic-workflow-action.png?fit=max\&auto=format\&n=WukkI0uRbfhRleGF\&q=85\&s=b92a201b5a82ab62e1fd82c50807e32e)

**4. Wait for the first sync, or start it now**

The first sync sends every finding the workflow selects that night. To start it straight away, open the integration under `Settings` > `Integrations` > `Sumo Logic` and click `Sync now`.

***

## What Plerion sends

Every record is one JSON object. Plerion sets the source name on each request, so you can tell the streams apart:

| Source name | Contents | When |
| - | - | - |
| `plerion-findings` | Findings from workflows that send to this integration | Once a night, plus `Sync now` |
| `plerion-audit-logs` | Tenant audit logs | As they happen |
| `Plerion test` | One test event | When you click `Test` or `Send test message` |

### Finding records

Each finding record has an `event` field that says why it was sent:

| `event` | Meaning |
| - | - |
| `opened` | The finding started failing since the last sync and matches the workflow. |
| `changed` | A finding that matches the workflow changed, for example its severity, message, exemption, SLA, fact-check verdict or resource name. |
| `resolved` | The finding passed. The record carries the finding's details as they are now. |
| `left` | The finding no longer matches the workflow, for example because it left the SLA band a condition asks for. The record carries only `id`, `tenantId` and `reason`. |
| `snapshot` | Part of the weekly resend of every open finding the workflow selects. |
| `snapshot_complete` | The snapshot with this `syncId` finished. `findings` is how many it sent. |

Finding records carry, among others, `id`, `detectionId`, `message`, `status`, `severityLevel`, `provider`, `providerAccountId`, `region`, `resourceType`, `resourceId`, `resourceName`, `resourceTags`, `isExempted`, `exemptionReason`, `slaDueAt`, `factCheck`, `firstObservedAt`, `lastObservedAt`, `lastChangedAt` and `plerionUrl`, a link that opens the finding in Plerion. Every record also has `syncId`, `workflowId` and `sentAt`.

A finding is sent only when something that matters about it changes. A scan that sees the same finding again does not resend it.

### Keeping an up-to-date list of open findings

To track which findings are open:

* Take the latest record for each finding `id`. `opened`, `changed` and `snapshot` mean it is open, and `resolved` or `left` mean it is not.
* Once a week, compare against the newest snapshot that has a `snapshot_complete` record. Drop any finding that is missing from that snapshot. It has left the workflow's selection, for example because it was deleted or exempted.

The weekly snapshot also keeps findings that never change inside your Sumo Logic retention period.

A query for the findings opened or changed in the last day:

```
_sourceName="plerion-findings"
| json "event", "id", "severityLevel", "message", "plerionUrl"
| where event in ("opened", "changed")
```

### Audit log records

Audit log records have `event` set to `audit`, and carry `id`, `operation`, `operationTime`, `operatorEmail`, `operatorUserId`, `ip`, `userAgent`, `location`, `tenantId` and `organizationId`. They use the same fields as the [list audit logs API](https://docs.plerion.com/api-reference/audit-logs/list.md).

Sign-ins and organization-level events are not sent. If more than one workflow with an audit log condition uses the same integration, each audit log is still sent once.

***

## Sync now

`Sync now` on the integration page sends what changed since the last sync for every enabled workflow that uses the integration, without waiting for the night.

* A workflow that has never synced sends every finding it selects.
* The weekly snapshot stays with the nightly sync.
* After a sync starts, `Sync now` is available again after 15 minutes. Plerion shows the time you can try again.
* If no enabled workflow sends findings to the integration, Plerion says so and nothing is sent.

***

## Stopping the integration

* Remove the Sumo Logic action from a workflow, or disable the workflow, to stop sending its findings. A sync already running stops at its next step.
* Delete the audit log condition from every workflow that uses the integration to stop sending audit logs.
* Delete the integration to stop everything that goes through it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.