Skip to content
Open
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
53 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
a49dd72
Apply suggestion from @nastasha-solomon
nastasha-solomon Oct 11, 2025
1765614
adds some content from toi
nastasha-solomon Oct 12, 2025
178e51d
fix conflict
nastasha-solomon Oct 12, 2025
53aeeef
bye
nastasha-solomon Oct 12, 2025
43a1eb5
try again
nastasha-solomon Oct 12, 2025
f830cbf
Apply suggestion from @nastasha-solomon
nastasha-solomon Oct 12, 2025
4eb307a
small change
nastasha-solomon Oct 12, 2025
1e5cddb
Merge branch 'case-analytics-indices-9.1-serv' of https://github.com/…
nastasha-solomon Oct 12, 2025
7158d17
removed attribute
nastasha-solomon Oct 12, 2025
75018ff
cleanup
nastasha-solomon Oct 12, 2025
604fd8e
Removed space
nastasha-solomon Oct 12, 2025
92ba0cf
Adding info about dataviews
nastasha-solomon Oct 13, 2025
7bca4b7
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Oct 13, 2025
33ee601
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Oct 13, 2025
86e01b0
Update explore-analyze/alerts-cases/cases.md
nastasha-solomon Oct 13, 2025
99720b9
Update explore-analyze/alerts-cases/cases/cases-as-data.md
nastasha-solomon Oct 13, 2025
2d9fdb3
Update explore-analyze/alerts-cases/cases/cases-as-data.md
nastasha-solomon Oct 14, 2025
80c452b
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Oct 14, 2025
bcf78ea
Updated index names
nastasha-solomon Oct 14, 2025
a8ee408
Merge branch 'case-analytics-indices-9.1-serv' of https://github.com/…
nastasha-solomon Oct 14, 2025
bdd9dd5
Updating applies to
nastasha-solomon Oct 15, 2025
289392b
adding to applies to tags
nastasha-solomon Oct 15, 2025
dbb2de6
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Oct 15, 2025
41484f5
Apply suggestion from @nastasha-solomon
nastasha-solomon Oct 16, 2025
b95b54c
Merge branch 'main' into case-analytics-indices-9.1-serv
nastasha-solomon Oct 16, 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 @@ -27,3 +27,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.2` 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}}.
112 changes: 112 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,112 @@
---
applies_to:
stack: ga 9.2
serverless: ga
products:
- id: kibana
---

# Visualize case data [visualize-case-data]

Case data, such as details about comments, activities, and attachments, is collected in case analytics indices. You can query these indices to build dashboards and metrics that improve your visibility into case patterns and trends.

::::{admonition} Requirements

To visualize case data, you must do the following:

* {applies_to}`stack: ga` Turn on the case analytics indices feature by adding `xpack.cases.incrementalId.enabled: true` to your [`kibana.yml`](/deploy-manage/stack-settings.md) file.
* Ensure your role has at least `read` and `view_index_metadata` access to the appropriate case anlaytics indices.
* (Optional) If you don't have cases, create a new one in a {{kib}} space to automatically generate the case analytics indices.

::::

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

After you turn on the case analytics indices feature, your {{kib}} spaces are checked for case data. If they have any, {{es}} automatically creates case analytics indices for each solution (Stack Management, {{observability}}, and Security) and every {{kib}} space. Aliases for the case analytics indices are automatically created as well.

The case analytics indices are updated very five minutes with a snapshot of most current cases data in your spaces. Historical data for cases is not stored; it gets overwritten whenever the indices are refreshed.

::::{note}
It may take up to an hour for case analytics indices to form in a new {{kib}} space.
::::

### General case data

These indices store general data related to cases created in Stack Management, {{observability}}, and Security.

| Index | Alias | Created for |
| ---------------------------- | ---------------------- |----------------------------------------- |
| `.internal.cases.<space-name>-cases` | `.cases.<space-name>-cases` | Stack Management cases |
| `.internal.cases.<space-name>-observability` | `.cases.<space-name>-observability` | {{observability}} cases |
| `.internal.cases.<space-name>-securitysolution` | `.cases.<space-name>-securitysolution` | Security cases |

### Case comments

These indices store data related to comments in Stack Management, {{observability}}, and Security cases.

| Index | Alias | Created for |
| ---------------------------- | ---------------------- |----------------------------------------- |
| `.internal.cases-comments.<space-name>-cases` | `.cases-comments.<space-name>-cases` | Stack Management cases |
| `.internal.cases-comments.<space-name>-observability` | `.cases-comments.<space-name>-observability` | {{observability}} cases |
| `.internal.cases-comments.<space-name>-securitysolution` | `.cases-comments.<space-name>-securitysolution` | Security cases |


### Case attachments

These indices store data related to attachments in Stack Management, {{observability}}, and Security cases.

| Index | Alias | Created for |
| ---------------------------- | ---------------------- |----------------------------------------- |
| `.internal.cases-attachments.<space-name>-cases` | `.cases-attachments.<space-name>-cases` | Stack Management cases |
| `.internal.cases-attachments.<space-name>-observability` | `.cases-attachments.<space-name>-observability` | {{observability}} cases |
| `.internal.cases-attachments.<space-name>-securitysolution` | `.cases-attachments.<space-name>-securitysolution` | Security cases |

### Case activity

These indices store data related to activity in Stack Management, {{observability}}, and Security cases.

| Index | Alias | Created for |
| ---------------------------- | ---------------------- |----------------------------------------- |
| `.internal.cases-activity.<space-name>-cases` | `.cases-activity.<space-name>-cases` | Stack Management cases |
| `.internal.cases-activity.<space-name>-observability` | `.cases-activity.<space-name>-observability` | {{observability}} cases |
| `.internal.cases-activity.<space-name>-securitysolution` | `.cases-activity.<space-name>-securitysolution` | Security cases |


## Explore case data [explore-case-analytics-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 open cases in the default {{kib}} space:

```console
FROM .internal.cases.default-observability | STATS count = COUNT(*) BY status | WHERE status == "open"
```

* Find the total number of in progress Stack Management cases in the default {{kib}} space:

```console
FROM .internal.cases.default-cases | STATS count = COUNT(*) BY status | WHERE status == "in-progress"
```

* Find the total number of closed {{observability}} cases in the default {{kib}} space:

```console
FROM .internal.cases.default-observability | STATS count = COUNT(*) BY status | WHERE status == "closed"
```

* Find Security cases that are open in the default {{kib}} space, and sort them by time, with the most recent at the top:

```console
FROM .internal.cases.default-securitysolution | WHERE status == "open" | SORT created_at DESC
```

* Find the average time that it takes to close Security cases in the default {{kib}} space:

```console
FROM .internal.cases.default-securitysolution | STATS average_time_to_close = AVG(time_to_resolve)
```

::::{tip}
To learn more about queryable fields in the indices, refer to
% [Case analytics indices schema](kibana://reference/case-analytics-indices-schema.md)
::::
1 change: 1 addition & 0 deletions explore-analyze/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,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 @@ -15,4 +15,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.2` 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 @@ -30,10 +30,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.2` 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