Skip to main content

Provider package apache-airflow-providers-elasticsearch for Apache Airflow

Project description

Package apache-airflow-providers-elasticsearch

Release: 2.1.0


Provider package

This is a provider package for elasticsearch provider. All classes for this provider package are in airflow.providers.elasticsearch python package.

You can find package information and changelog for the provider in the documentation.


You can install this package on top of an existing airflow 2.1+ installation via pip install apache-airflow-providers-elasticsearch

The package supports the following python versions: 3.6,3.7,3.8,3.9

PIP requirements

PIP package Version required
apache-airflow >=2.1.0
elasticsearch-dsl >=5.0.0
elasticsearch >7




  • Add docs for AIP 39: Timetables (#17552)
  • Adds example showing the ES_hook (#17944)


Bug Fixes

  • Fix Invalid log order in ElasticsearchTaskHandler (#17551)


  • Optimise connection importing for Airflow 2.2.0
  • Adds secrets backend/logging/auth information to provider yaml (#17625)


Bug Fixes

  • Updated dependencies to allow Python 3.9 support


Breaking changes

  • Auto-apply apply_default decorator (#15667)

  • Remove support Jinja templated log_id in Elasticsearch (#16465)

    While undocumented, previously [elasticsearch] log_id supported a Jinja templated string. Support for Jinja templates has now been removed. log_id should be a template string instead, for example: {dag_id}-{task_id}-{execution_date}-{try_number}.

    If you used a Jinja template previously, the execution_date on your Elasticsearch documents will need to be updated to the new format.


Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.


  • Support remote logging in elasticsearch with filebeat 7 (#14625)
  • Support non-https elasticsearch external links (#16489)

Bug fixes

  • Fix external elasticsearch logs link (#16357)
  • Fix Elasticsearch external log link with ''json_format'' (#16467)


Bug fixes

  • Fix 'logging.exception' redundancy (#14823)
  • Fix exception caused by missing keys in the ElasticSearch Record (#15163)


Bug fixes

  • Elasticsearch Provider: Fix logs downloading for tasks (#14686)


Bug fixes

  • Corrections in docs and tools after releasing provider RCs (#14082)


Updated documentation and readme files.

Bug fixes

  • Respect LogFormat when using ES logging with Json Format (#13310)


Initial version of the provider.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for apache-airflow-providers-elasticsearch, version 2.1.0
Filename, size File type Python version Upload date Hashes
Filename, size apache_airflow_providers_elasticsearch-2.1.0-py3-none-any.whl (20.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size apache-airflow-providers-elasticsearch-2.1.0.tar.gz (16.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page