Files
grafana/docs/sources/datasources/elasticsearch/_index.md
T
Larissa Wandzura 91a72f2572 DOCS: Updates to Elasticsearch data source docs (#115021)
* created new configure folder, rewrote intro page

* updated configure doc

* updated query editor

* updates to template variables

* added troubleshooting doc, fixed heading issues

* fix linter issues

* added alerting doc

* corrected title

* final edits

* fixed linter issue

* added deprecation comment per feedback

* ran prettier
2025-12-11 19:21:33 +00:00

4.4 KiB

aliases, description, keywords, labels, menuTitle, title, weight, refs
aliases description keywords labels menuTitle title weight refs
../data-sources/elasticsearch/
../features/datasources/elasticsearch/
Guide for using Elasticsearch in Grafana
grafana
elasticsearch
guide
data source
products
cloud
enterprise
oss
Elasticsearch Elasticsearch data source 325
explore build-dashboards
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/explore/
pattern destination
/docs/grafana-cloud/ /docs/grafana/<GRAFANA_VERSION>/explore/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/dashboards/build-dashboards/
pattern destination
/docs/grafana-cloud/ /docs/grafana/<GRAFANA_VERSION>/dashboards/build-dashboards/

Elasticsearch data source

Elasticsearch is a search and analytics engine used for a variety of use cases. You can create many types of queries to visualize logs or metrics stored in Elasticsearch, and annotate graphs with log events stored in Elasticsearch.

The following resources will help you get started with Elasticsearch and Grafana:

Key capabilities

The Elasticsearch data source supports:

  • Metrics queries: Aggregate and visualize numeric data using bucket and metric aggregations.
  • Log queries: Search, filter, and explore log data with Lucene query syntax.
  • Annotations: Overlay Elasticsearch events on your dashboard graphs.
  • Alerting: Create alerts based on Elasticsearch query results.

Before you begin

Before you configure the Elasticsearch data source, you need:

  • An Elasticsearch instance (v7.17+, v8.x, or v9.x)
  • Network access from Grafana to your Elasticsearch server
  • Appropriate user credentials or API keys with read access

{{< admonition type="note" >}} If you use Amazon OpenSearch Service (the successor to Amazon Elasticsearch Service), use the OpenSearch data source instead. {{< /admonition >}}

Supported Elasticsearch versions

{{< admonition type="warning" >}} The Elasticsearch data source plugin currently does not support Elastic Cloud Serverless, or any other serverless variant of Elasticsearch. {{< /admonition >}}

This data source supports these versions of Elasticsearch:

  • ≥ v7.17
  • v8.x
  • v9.x

The Grafana maintenance policy for the Elasticsearch data source aligns with Elastic Product End of Life Dates. Grafana ensures proper functionality for supported versions only. If you use an EOL version of Elasticsearch, you can still run queries, but the query builder displays a warning. Grafana doesn't guarantee functionality or provide fixes for EOL versions.

Additional resources

Once you have configured the Elasticsearch data source, you can:

  • OpenSearch - For Amazon OpenSearch Service.
  • Loki - Grafana's log aggregation system.