Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6ac2538
First draft
nastasha-solomon Jul 22, 2025
b746055
Removed extra spaces
nastasha-solomon Jul 22, 2025
e5b0dbe
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Jul 22, 2025
18342d1
Updates sec and obs docs
nastasha-solomon Jul 22, 2025
f5a6e4c
Applies to tags
nastasha-solomon Jul 22, 2025
1e574b1
Added ref to kibana page
nastasha-solomon Jul 22, 2025
e6f473b
Fix error
nastasha-solomon Jul 22, 2025
b02b1b3
fix for real this time (i hope)
nastasha-solomon Jul 22, 2025
2addac7
minor fixes
nastasha-solomon Jul 22, 2025
c9f5724
the to from
nastasha-solomon Jul 22, 2025
52325f6
Update explore-analyze/alerts-cases/cases/visualize-case-data.md
nastasha-solomon Jul 23, 2025
a881129
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Jul 23, 2025
102669a
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Jul 23, 2025
4355559
Update explore-analyze/alerts-cases/cases/visualize-case-data.md
nastasha-solomon Jul 23, 2025
2533c13
Update explore-analyze/alerts-cases/cases/visualize-case-data.md
nastasha-solomon Jul 23, 2025
c50b531
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Jul 24, 2025
37b8a1b
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 2, 2025
fd9b185
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 2, 2025
5c0496a
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 23, 2025
620724c
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 23, 2025
4e16729
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 24, 2025
5b720d1
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 29, 2025
754575f
Technical input
nastasha-solomon Sep 29, 2025
07777e6
Fix table
nastasha-solomon Sep 29, 2025
0f063b2
removed some duplicate information
nastasha-solomon Sep 29, 2025
7ad4c2b
Reformats table
nastasha-solomon Sep 30, 2025
b6a80a3
Moves more content
nastasha-solomon Sep 30, 2025
dc46973
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Sep 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions explore-analyze/alerts-cases/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,13 @@ If you create cases in the {{observability}} or {{security-app}}, they are not v
* [Configure access to cases](cases/setup-cases.md)
* [Open and manage cases](cases/manage-cases.md)
* [Configure case settings](cases/manage-cases-settings.md)


::::{note}
{applies_to}`stack: ga 9.1` With the appropriate index access, you can [build visualizations and metrics](../../explore-analyze/alerts-cases/cases/visualize-case-data.md) of data in {{observability}}, {{stack-manage-app}}, and {{elastic-sec}} cases. This can provide improved visibility into patterns and trends of cases within your space.
::::

## Limitations [kibana-case-limitations]

* If you create cases in {{stack-manage-app}}, they are not visible from {{observability}} or the {{security-app}}. Likewise, the cases you create in {{observability}}, they are not visible in {{stack-manage-app}} or {{elastic-sec}}.
* You cannot attach alerts from {{observability}} or {{elastic-sec}} to cases in {{stack-manage-app}}.
58 changes: 58 additions & 0 deletions explore-analyze/alerts-cases/cases/visualize-case-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
applies_to:
stack: ga
serverless: ga
products:
- id: kibana
---

# Visualize case data [visualize-case-data]

Case data is stored in case analytics indices, which include data from case comments, attachments, and activity. You can query this information to build dashboards and metrics that improve your visibility into case patterns and trends.

## About case analytics indices [about-case-analytics-indices]

Case analytics indices and their aliases are automatically generated when Kibana starts up. Every five minutes, the indices are updated with new data from cases in your space. Historical data about cases is not stored; it gets overwritten whenever new case data is written to the indices.

You can begin querying case analytics indices as soon as you have cases in your space. To learn more about fields in the indices, refer to
% [Case analytics indices schema](kibana://reference/case-analytics-indices-schema.md)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will uncomment this ref once I merge elastic/kibana#229036.


| Index | Alias | Description |
| ---------------------------- | ---------------------- |----------------------------------------- |
| `.internal.cases` | `.cases` | Stores general data related to cases. |
| `.internal.cases-comments` | `.cases-comments` | Stores data related to case comments. |
| `.internal.cases-activity` | `.cases-activity` | Stores data related to case activity. |
| `.internal.cases-attachments`| `.cases-attachments` | Stores data related to case attachments (only alerts and files added to the case). |

## Explore case data [explore-case-analytics-indices]

::::{admonition} Requirements
To query the case analytics indices, your role must have at least `Read` and `view_index_metadata` access to the indices.
::::

Search and filter case data in [Discover](../../discover.md) and [Lens](../../visualize/lens.md), and build visualizations for [dashboards](../../dashboards.md). To help you start visualizing your case data, here are some sample {{esql}} queries that you can run from the [{{esql}} editor](../../../explore-analyze/query-filter/languages/esql-kibana.md#esql-kibana-get-started) in Discover.

* Find the total number of cases that are currently open:
```console
FROM .internal.cases | STATS count = COUNT(*) BY status | WHERE status == "open"
```

* Find the total number of cases that are currently in progress:
```console
FROM .internal.cases | STATS count = COUNT(*) BY status | WHERE status == "in-progress"
```

* Find the total number of cases that are closed:
```console
FROM .internal.cases | STATS count = COUNT(*) BY status | WHERE status == "closed"
```

* Find cases that are open and sort them by time, with the most recent is at the top:
```console
FROM .internal.cases | WHERE status == "open" | SORT created_at DESC
```

* Find the average time that it takes to close a case:
```console
FROM .internal.cases | STATS average_time_to_close = AVG(time_to_resolve)
```
1 change: 1 addition & 0 deletions explore-analyze/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,5 @@ toc:
- file: alerts-cases/cases/setup-cases.md
- file: alerts-cases/cases/manage-cases.md
- file: alerts-cases/cases/manage-cases-settings.md
- file: alerts-cases/cases/visualize-case-data.md
- file: numeral-formatting.md
11 changes: 10 additions & 1 deletion solutions/observability/incident-management/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,13 @@ Collect and share information about observability issues by creating a case. Cas
:::{image} /solutions/images/observability-cases.png
:alt: Cases page
:screenshot:
:::
:::

::::{note}
{applies_to}`stack: ga 9.1` With the appropriate index access, you can [build visualizations and metrics](../../../explore-analyze/alerts-cases/cases/visualize-case-data.md) of data in {{observability}}, {{stack-manage-app}}, and {{elastic-sec}} cases. This can provide improved visibility into patterns and trends of cases within your space.
::::

## Limitations [observability-case-limitations]

* If you create cases in {{observability}}, they are not visible from the {{security-app}} or {{stack-manage-app}}. Likewise, the cases you create in {{stack-manage-app}} are not visible in the {{observability}} or {{elastic-sec}}.
* You cannot attach alerts from {{elastic-sec}} or {{stack-manage-app}} to cases in {{observability}}.
10 changes: 8 additions & 2 deletions solutions/security/investigate/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ You can also send cases to these external systems by [configuring external conne
:screenshot:
:::

::::{note}
From {{elastic-sec}} in the {{stack}}, you cannot access cases created in {{observability}} or Stack Management.
::::{note}
{applies_to}`stack: ga 9.1` With the appropriate index access, you can [build visualizations and metrics](../../../explore-analyze/alerts-cases/cases/visualize-case-data.md) of data in {{observability}}, {{stack-manage-app}}, and {{elastic-sec}} cases. This can provide improved visibility into patterns and trends of cases within your space.
::::

## Limitations [security-case-limitations]

* If you create cases in the {{security-app}}, they are not visible from {{observability}} or {{stack-manage-app}}. Likewise, the cases you create in {{stack-manage-app}} are not visible in {{elastic-sec}} or {{observability}}.
* You cannot attach alerts from the {{observability}} or {{stack-manage-app}} to cases in {{elastic-sec}}.





Expand Down
Loading