Skip to main content

Run Elasticsearch Reindex using Airflow SDK

1. Define the YAML Config

This is a sample config for Elasticsearch Reindex:

2. Prepare the Ingestion DAG

Create a Python file in your Airflow DAGs directory with the following contents: