docs/sources/datasources/elasticsearch/_index.md
Elasticsearch is a search and analytics engine used for a variety of use cases. The built-in Elasticsearch data source lets you query and visualize logs or metrics stored in Elasticsearch, and annotate graphs with log events.
{{< admonition type="note" >}} If you use Amazon OpenSearch Service (the successor to Amazon Elasticsearch Service), use the OpenSearch data source instead. {{< /admonition >}}
The Elasticsearch data source supports:
Before you configure the Elasticsearch data source, you need:
This data source supports these versions of Elasticsearch:
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.
The following documentation helps you set up and use the Elasticsearch data source:
Starting with Grafana v13.0, the Elasticsearch data source is a standalone plugin, pre-installed in both Grafana OSS and Enterprise. This enables more frequent updates independent of Grafana releases. Grafana automatically checks the plugin catalog and installs the latest version on each server restart.
To adjust this behavior:
preinstall_auto_update to false in your configuration file.Once you have configured the Elasticsearch data source, you can: