Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fuser-guides%2Folly%2Fautomatic-case-analysis.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fuser-guides%2Folly%2Fautomatic-case-analysis.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# Analyze Cases automatically with Olly

Automatic case analysis puts Olly to work the moment a Case opens. When a Case matches your criteria, Olly investigates it on its own—correlating logs, metrics, and traces—and posts a root-cause finding directly on the Case, so your team can begin triage with a likely cause already in hand. The same finding travels to every destination you route Case notifications to.

## What you need[​](#what-you-need "Direct link to What you need")

* [Olly enabled](https://coralogix.com/docs/docs/user-guides/olly/enable/.md) for your team.
* A paid Coralogix plan. Automatic case analysis is available to teams on a paid plan.
* [Cases](https://coralogix.com/docs/docs/user-guides/cases/overview/.md) in use, with alerts configured to create Cases.
* The [`OLLY-AUTOMATIONS:MANAGE`](https://coralogix.com/docs/docs/user-guides/aaa/access-control/permissions/permissions-list/.md) permission to configure automatic case analysis. Turning it on the first time also requires the [`TEAM-CUSTOM-API-KEYS:MANAGE`](https://coralogix.com/docs/docs/user-guides/aaa/access-control/permissions/permissions-list/.md) permission, because Olly runs analysis using a team API key.

## How it works[​](#how-it-works "Direct link to How it works")

Once you turn it on, automatic case analysis runs in four stages for every Case that matches your scope:

* **Detect**: A Case that matches your scope opens.
* **Analyze**: Olly correlates your logs, traces, and metrics to identify the most likely root cause.
* **Surface**: Olly's finding appears on the Case for your team to act on.
* **Notify**: The finding is also sent to any destination configured for the Case's notifications.

Note

Each automatic analysis runs Olly and counts toward your team's [AI units](https://coralogix.com/docs/docs/user-guides/account-management/payment-and-billing/ai-units-pricing/.md) usage, the same as other Olly activity. To cap how many units automatic case analysis can consume, set a limit for it on the **Automations & Agents** tab in [Usage Management](https://coralogix.com/docs/docs/user-guides/olly/usage-management/.md).

## Turn on automatic case analysis[​](#turn-on-automatic-case-analysis "Direct link to Turn on automatic case analysis")

1. In Coralogix, select **Settings**, then **Olly AI**, then **Automatic Case Analysis**.
2. In **Key name**, enter a name for the team API key Olly uses to analyze Cases on your team's behalf. The **Role Preset** is set to **Olly** and can't be changed.
3. Select **Turn on case analysis**. Coralogix creates the team API key and starts automatic analysis. The status changes to **Running**.

<!-- -->

<!-- -->

After the key exists, use the toggle on the **Case analysis** section to pause or resume analysis at any time. If the team API key is later disabled or revoked, analysis pauses and the status shows **Paused** until you replace the key or re-enable it.

## Set which Cases Olly analyzes[​](#set-which-cases-olly-analyzes "Direct link to Set which Cases Olly analyzes")

Scope analysis to the Cases you care about so Olly runs only where it adds value. Scope changes save automatically.

**Case priorities**

Select **All priorities** to include Cases of any priority, or select **Specific priorities** and then select the priorities (P1 through P5) Olly should analyze.

**Ownership labels**

Add one or more ownership labels to restrict analysis to Cases that carry any of them. Leave this empty to analyze all Cases that match your priority filter. Ownership labels are the same environment, service, and team labels used to route Case notifications. See [Cases in Notification Center](https://coralogix.com/docs/docs/user-guides/notification-center/entity-types/cases/.md).

When both filters are set, a Case is analyzed only when it matches the priority filter and carries at least one of the selected ownership labels.

## Read Olly's analysis on a Case[​](#read-ollys-analysis-on-a-case "Direct link to Read Olly's analysis on a Case")

When a Case matches your scope, Olly analyzes it and posts the finding on the Case's **Triage** tab, attributed to Olly with a reminder to review it before acting. The finding has three parts:

* **Investigation summary**: A concise narrative of what happened, when it started, the scope of impact, and the correlated signals across logs, metrics, and traces.
* **Root cause**: The most likely cause based on the evidence, with a confidence level.
* **Remediation recommendations**: Two to four concrete, ordered next steps specific to the identified root cause.

<!-- -->

<!-- -->

## Receive the analysis in your notifications[​](#receive-the-analysis-in-your-notifications "Direct link to Receive the analysis in your notifications")

Because Olly's finding is stored on the Case, it travels through whatever destinations you already route Case notifications to—Slack, PagerDuty, email, or webhook—with no extra per-channel setup. Configure Case notification routing in [Notification Center](https://coralogix.com/docs/docs/user-guides/notification-center/entity-types/cases/.md).

## Limitations[​](#limitations "Direct link to Limitations")

* Automatic analysis applies to Cases that open after you turn it on. Olly does not retroactively analyze Cases that were already open.
* Analysis pauses whenever the team API key it runs as is disabled, revoked, or deleted. Replace the key or re-enable it to resume.

## Permissions[​](#permissions "Direct link to Permissions")

| Permission                                                                                                                       | Grants                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [`OLLY-AUTOMATIONS:MANAGE`](https://coralogix.com/docs/docs/user-guides/aaa/access-control/permissions/permissions-list/.md)     | Configure automatic case analysis, including the enable toggle and scope filters. |
| [`TEAM-CUSTOM-API-KEYS:MANAGE`](https://coralogix.com/docs/docs/user-guides/aaa/access-control/permissions/permissions-list/.md) | Create the team API key. Required the first time you turn analysis on.            |

## Related resources[​](#related-resources "Direct link to Related resources")

[Cases overview](https://coralogix.com/docs/docs/user-guides/cases/overview/.md)[Olly mini](https://coralogix.com/docs/docs/user-guides/olly/olly-mini/.md)[Working with Cases](https://coralogix.com/docs/docs/user-guides/cases/working-with-cases/.md)[Cases in Notification Center](https://coralogix.com/docs/docs/user-guides/notification-center/entity-types/cases/.md)
