apache-airflow-providers-elasticsearch
Provider package apache-airflow-providers-elasticsearch for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that bridges Airflow workflows and Elasticsearch clusters. It supplies hooks, operators, and sensors that let you query Elasticsearch indices, index documents, and monitor cluster health as part of your Airflow DAGs. The package is built on top of the official elasticsearch client library and integrates with Airflow's connection and credential management system.
You install it alongside an existing Airflow deployment (>=2.11.0) to gain Elasticsearch-aware task types. It depends on apache-airflow, elasticsearch (8.10 or later, before 10.0), and two common Airflow provider packages for compatibility and SQL-like operations. The package supports Python 3.10 through 3.14 and includes an optional polars dependency for advanced data handling.
Use it for:
- Index log or event data into Elasticsearch from Airflow tasks as part of a data pipeline.
- Query Elasticsearch indices to fetch metrics or alerts and trigger downstream DAG logic based on results.
- Monitor Elasticsearch cluster health or index status and raise alerts via Airflow sensors.
- Build ETL workflows that read from Elasticsearch, transform data, and write back or to other systems.
- Orchestrate bulk indexing or reindexing operations across Elasticsearch clusters on a schedule.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Elasticsearch with Apache Airflow, providing operators, hooks, and sensors to query, index, and monitor Elasticsearch clusters within Airflow DAGs.
Yes, if you run Airflow and need to integrate Elasticsearch into your workflows. The package is actively maintained, carries no known vulnerabilities, has low install friction, and is part of the official Apache Airflow provider ecosystem. Install only if you have an Airflow instance >=2.11.0 and an Elasticsearch cluster >=8.10 to connect to.
Install
apache-airflow-providers-elasticsearch on PyPI
pip
pip install apache-airflow-providers-elasticsearchuv
uv add apache-airflow-providers-elasticsearchpoetry
poetry add apache-airflow-providers-elasticsearchInstalling apache-airflow-providers-elasticsearch
Before you install
Low install friction with a pure-Python wheel. Actively maintained—released 6 days ago with a large upstream repository (46490 stars). Requires Airflow >=2.11.0 and elasticsearch >=8.10,<10.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; typical for Apache Foundation projects.
Quickstart
pip install apache-airflow-providers-elasticsearch
from airflow.providers.elasticsearch.hooks.elasticsearch import ElasticsearchHook
hook = ElasticsearchHook(conn_id='elasticsearch_default')
results = hook.search(index='my_index', query={'match_all': {}})
Requires an existing Airflow installation (>=2.11.0) and an Elasticsearch cluster (>=8.10,<10) to connect to.
Verify before relying
- Specific operators and sensors available beyond hooks (e.g., ElasticsearchOperator, ElasticsearchSensor).
- Whether polars optional dependency adds data transformation capabilities or is only for export/import workflows.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — apache-airflow, apache-airflow-providers-common-compat, apache-airflow-providers-common-sql, elasticsearch |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 712,443/month — #5,254 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_elasticsearch-6.9.0-py3-none-any.whl
Keywords: airflow-provider, elasticsearch, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-anomaloProvides native Apache Airflow operators and…
permissive · top 15,000 on PyPI
apache-airflow-providers-opensearchIntegrates OpenSearch with Apache Airflow,…
permissive · top 15,000 on PyPI
apache-airflow-providers-standardProvides standard operators, hooks, and sensors…
permissive · top 5,000 on PyPI
apache-airflow-providers-arangodbIntegrates ArangoDB with Apache Airflow,…
permissive · top 15,000 on PyPI
apache-airflow-providers-oracleIntegrates Apache Airflow with Oracle…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-pinotIntegrates Apache Pinot with Apache Airflow,…
permissive · top 15,000 on PyPI
apache-airflow-providers-zendeskProvides operators and hooks to integrate…
permissive · top 15,000 on PyPI
apache-airflow-providers-informaticaProvides Apache Airflow integration operators…
permissive · top 15,000 on PyPI
apache-airflow-providers-apache-cassandraIntegrates Apache Cassandra with Apache…
permissive · top 15,000 on PyPI
airflow-provider-hightouchProvides Airflow operators and hooks to trigger…
permissive · top 15,000 on PyPI