﻿---
title: Case analytics
description: Query case analytics indices to track operational metrics like mean time to respond (MTTR), case volume, and analyst workload with Discover, Lens, and ES|QL.
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/cases/case-analytics
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
---

# Case analytics
Case analytics helps you report on your cases at scale. Behind the scenes, Elastic mirrors your case data into dedicated analytics indices and keeps them in sync as cases change, so your reports always reflect the latest activity.
Because that data lives in Elasticsearch indices, you can work with it using the tools you already know. Track case volume and trends, closure rates, mean time to respond (MTTR) and other timings, assignee workload, alert and observable breakdowns, and case field metrics with [Discover](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/discover), [Lens](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/visualize/lens), ES|QL, dashboards, and alerting.
To dive in, [explore and visualize your case data](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/cases/explore-case-data) or [query it with ES|QL](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/cases/query-case-data-esql). The rest of this section covers where your data lives and the fields you can report on. To let users report on this data, [grant access to the case analytics indices](/elastic/docs-content/tree/main/explore-analyze/cases/control-case-access#give-analytics-access). To manage the feature, refer to [Administer case analytics](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/cases/administer-case-analytics).
<dropdown title="Turn on case analytics in earlier Elastic Stack versions" applies-to="Elastic Stack: Preview from 9.2 to 9.4">
  In earlier versions of the Elastic Stack, you need to turn on case analytics first. To do this, add `xpack.cases.analytics.index.enabled: true` to your [`kibana.yml`](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/deploy-manage/stack-settings) file.Case analytics works best when your deployment has 10 or fewer spaces with cases. In each of those spaces, a background task refreshes the analytics indices every five minutes, so with many spaces the combined work can put too much load on Task Manager. If you have more spaces, hold off on turning it on.
</dropdown>