Metrics
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless Observability
Generally available
Stack
Generally available
Elastic lets you ingest, store, query, and visualize metrics from any source. Whether you're consolidating a Prometheus or Datadog stack, collecting infrastructure metrics, or sending custom application metrics, Elastic supports OpenTelemetry, Prometheus remote write, and Elastic Agent integrations from a single platform.
Start here if you need to get metrics into Elastic or decide how to ingest them:
- Get started with metrics
- Get data flowing quickly using an Elastic OpenTelemetry quickstart for your deployment type and environment. Start here if you're evaluating Elastic or want a working pipeline before you commit to a data model.
- Migrate metrics to Elastic
- Move an existing Prometheus or Datadog stack to Elastic. Because Elastic accepts OpenTelemetry Protocol (OTLP) and Prometheus remote write, you can run both systems side by side and migrate gradually.
- Ingest metrics
- Compare every ingest path in detail: Elastic OpenTelemetry and OTLP, Prometheus remote write, and Elastic Agent integrations, including which path is recommended for your deployment type.
- Plan your metrics setup
- Understand how each ingest path stores your metrics (OpenTelemetry, Elastic Common Schema (ECS), or Prometheus names) and pick the path for your deployment type before you scale up.
After metrics are in Elastic, use these pages to query, visualize, and control storage:
- Explore metrics
-
Query with Elasticsearch Query Language (ES|QL) or PromQL.
The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.4 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability Generally available This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. Visualize your data in Kibana using Discover, the Infrastructure UI, or dashboards.
The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Deprecated since 9.4 This functionality is deprecated. You can still use it, but it'll be removed in a future Elastic Stack update. Generally available from 9.0 to 9.3 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. Visualize your data in Kibana using Metrics Explorer, the Infrastructure UI, or dashboards.
- Manage metrics storage
- Control storage costs and retention using time series data streams (TSDS), downsampling, cardinality management, and lifecycle policies.
Keep Prometheus scraping and add Elastic as a remote_write target. Your scrape configurations don't change. On Elastic Cloud Serverless and Elastic Cloud Hosted, send to the Managed Prometheus Remote Write endpoint. On self-managed Elastic Stack, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes, send to the Elasticsearch /_prometheus/api/v1/write endpoint.
The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.5 This functionality is generally available and ready for production usage. Preview in 9.4 This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability Generally available This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. If you use Grafana, point its Prometheus data source at Elasticsearch and keep your PromQL dashboards. Elasticsearch runs a subset of PromQL, so check each dashboard and alert rule against the PromQL limitations before you switch it over.
Use these pages to add remote write, keep Grafana, and reuse PromQL:
- Ingest Prometheus metrics with the Managed Prometheus Remote Write endpoint Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability Generally available This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.4 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
- The recommended remote write destination on Elastic Cloud Serverless and Elastic Cloud Hosted.
- Ingest Prometheus metrics with the Elasticsearch remote write endpoint The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.5 This functionality is generally available and ready for production usage. Preview in 9.4 This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
- The Elasticsearch
/_prometheus/api/v1/writeendpoint for self-managed Elastic Stack, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. - Use Elasticsearch as a Prometheus data source in Grafana The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.5 This functionality is generally available and ready for production usage. Preview in 9.4 This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability Generally available This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments.
- Point Grafana at Elasticsearch and keep your existing PromQL dashboards.
- PromQL reference The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.5 This functionality is generally available and ready for production usage. Preview in 9.4 This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability Generally available This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments.
- Learn how Elasticsearch evaluates PromQL and which functions and constructs it supports.