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

# SumoLogic

> SumoLogic logs.

Connect Sumo Logic so Struct Agent can query logs as investigation evidence. Verify the intended account and permitted sources.

## Inspect access and existing connections

Use a claimed workspace with permission to configure connections.

```bash theme={null}
struct whoami --json
struct connections catalog sumologic --json
struct connections list --json
```

Use the catalog's current fields, choices and permission requirements. Reuse an existing healthy connection instead of creating a duplicate.

## Connect with the CLI

Supply credentials from approved secret storage through `SUMOLOGIC_ACCESS_ID`, `SUMOLOGIC_ACCESS_KEY`. The catalog describes which are needed for the selected authentication method. Do not put literal secrets in shell arguments or chat.

Replace example values with the intended resource:

```bash theme={null}
struct connect sumologic --deployment us1
```

## Verify and recover

Use the returned connection ID:

```bash theme={null}
struct connections show CONNECTION_ID --json
struct connections test CONNECTION_ID --json
```

Inspect `ok`, `health` and missing permissions, not only the exit code. `struct connections grant-command CONNECTION_ID` prints repair instructions where supported; have an authorized operator apply them. For expired OAuth links, start the connection command again and use the new link. Do not reconnect to a different account silently.

Verify a bounded operation for the requested job. Connection health proves checked access; it does not prove telemetry arrival, an investigation or alert delivery.

## What Struct reads

Targeted log searches and aggregations across your log data.

## Permissions

The access key's role needs the Search and View Monitors capabilities.

### Search and monitors

Run log searches and read existing monitors.

| Permission | Used for |
| - | - |
| `Search` | Running log searches |
| `View Monitors` | Reading your existing monitors |

* Struct checks both after you connect by starting and immediately deleting a short search job and listing one monitor.

Permission catalog version `2026-11-04.1`. See [permission changes](https://docs.struct.ai/reference/permission-changes.md).


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