﻿---
title: Explore and visualize case data
description: Use Discover and Lens to search, filter, and visualize case data from the case analytics indices.
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/cases/explore-case-data
products:
  - Elastic Cloud Enterprise
  - Elastic Cloud Hosted
  - Elastic Cloud Serverless
  - Elastic Cloud on Kubernetes
  - Elastic Stack
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Preview from 9.2 to 9.4
---

# Explore and visualize case data
Case analytics data behaves like any other Elasticsearch data in [Discover](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/discover) and [Lens](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/visualize/lens), so you can inspect individual cases and build charts to spot trends. How you reach the data depends on your version.
<applies-switch>
  <applies-item title="{ "stack": "ga 9.5", "serverless": "ga" }" applies-to="Elastic Cloud Serverless: Generally available, Elastic Stack: Planned">
    The first time a case is created or used in a space, Kibana creates a managed **Case Analytics** data view that covers all three analytics indices and is ready to use in Discover and Lens.
    1. Go to [Discover](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/discover) or [Lens](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/visualize/lens).
    2. Select the **Case Analytics** data view.
    3. Search, filter, and visualize case fields. To find typed case fields in the field list, filter by `_as_` (for example, `case.effort_as_integer`).
    You can save visualizations to dashboards and use the same indices as the basis for [alerting rules](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/alerting), like any other Elasticsearch data.
  </applies-item>

  <applies-item title="stack: preview 9.2-9.4" applies-to="Elastic Stack: Preview from 9.2 to 9.4">
    Create a [data view](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/find-and-organize/data-views) that points to one or more case analytics indices or their aliases. To point to all case analytics indices in your space, use the `.internal.cases*` index pattern.
    <note>
      Case data is stored in hidden indices. To display hidden indices, select **Show advanced settings**, then turn on **Allow hidden and system indices**.
    </note>
  </applies-item>
</applies-switch>


## Next steps

[Query case data with ES|QL](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/cases/query-case-data-esql) to calculate metrics like case volume, closure rates, and mean time to respond (MTTR).