

Building your pipeline or Using Airbyte
Airbyte is the only open source solution empowering data teams to meet all their growing custom business demands in the new AI era.
- Inconsistent and inaccurate data
- Laborious and expensive
- Brittle and inflexible
- Reliable and accurate
- Extensible and scalable for all your needs
- Deployed and governed your way
Start syncing with Airbyte in 3 easy steps within 10 minutes



Take a virtual tour
Demo video of Airbyte Cloud
Demo video of AI Connector Builder
Setup Complexities simplified!
Simple & Easy to use Interface
Airbyte is built to get out of your way. Our clean, modern interface walks you through setup, so you can go from zero to sync in minutes—without deep technical expertise.
Guided Tour: Assisting you in building connections
Whether you’re setting up your first connection or managing complex syncs, Airbyte’s UI and documentation help you move with confidence. No guesswork. Just clarity.
Airbyte AI Assistant that will act as your sidekick in building your data pipelines in Minutes
Airbyte’s built-in assistant helps you choose sources, set destinations, and configure syncs quickly. It’s like having a data engineer on call—without the overhead.
What sets Airbyte Apart
Modern GenAI Workflows
Move Large Volumes, Fast
An Extensible Open-Source Standard
Full Control & Security
Fully Featured & Integrated
Enterprise Support with SLAs
What our users say


"For TUI Musement, Airbyte cut development time in half and enabled dynamic customer experiences."


“Airbyte helped us accelerate our progress by years, compared to our competitors. We don’t need to worry about connectors and focus on creating value for our users instead of building infrastructure. That’s priceless. The time and energy saved allows us to disrupt and grow faster.”

"With Airbyte, we could just push a few buttons, allow API access, and bring all the data into Google BigQuery. By blending all the different marketing data sources, we can gain valuable insights."
Ensure you have Python installed on your machine, as it will be used for scripting the data transfer. Additionally, install the Elasticsearch Python client and DuckDB using pip:
```bash
pip install elasticsearch duckdb
```
Use the Python Elasticsearch client to connect to your Elasticsearch cluster. You’ll need the cluster's endpoint and any required authentication details:
```python
from elasticsearch import Elasticsearch
es = Elasticsearch(
hosts=["http://localhost:9200"], # Update with your Elasticsearch endpoint
http_auth=('user', 'password') # Add authentication if required
)
```
Query the Elasticsearch index to retrieve the data you want to transfer. Use the `search` API to fetch documents. Consider using scrolling if you're working with large datasets:
```python
index_name = 'your_index_name'
query = {
"query": {
"match_all": {}
}
}
response = es.search(index=index_name, body=query, scroll='2m', size=1000)
# Initialize variables for scroll loop
scroll_id = response['_scroll_id']
documents = response['hits']['hits']
```
Convert the raw documents from Elasticsearch into a format suitable for DuckDB, such as a list of dictionaries or a Pandas DataFrame:
```python
import pandas as pd
data = []
for doc in documents:
data.append(doc['_source'])
df = pd.DataFrame(data)
```
Initialize a connection to DuckDB and create a table schema that matches the data structure you retrieved from Elasticsearch. This can be done directly in Python:
```python
import duckdb
conn = duckdb.connect('my_database.duckdb')
create_table_query = """
CREATE TABLE IF NOT EXISTS my_table (
column1 TYPE,
column2 TYPE,
...
)
"""
conn.execute(create_table_query)
```
Use DuckDB's capabilities to insert the processed data. If you used a DataFrame, you can load it directly into DuckDB:
```python
conn.execute("INSERT INTO my_table SELECT FROM df")
```
Conduct a verification step to ensure that the data has been accurately transferred. Query the DuckDB table and compare it with the source data to validate:
```python
result = conn.execute("SELECT COUNT() FROM my_table").fetchall()
print("Number of records in DuckDB:", result[0][0])
# Compare with the number of documents retrieved from Elasticsearch
print("Number of documents retrieved:", len(data))
```
By following these steps, you can manually transfer data from Elasticsearch to DuckDB using Python without relying on external connectors or integrations. Adjust the scripts to cater to your specific data and environment requirements.
FAQs
What is ETL?
ETL, an acronym for Extract, Transform, Load, is a vital data integration process. It involves extracting data from diverse sources, transforming it into a usable format, and loading it into a database, data warehouse or data lake. This process enables meaningful data analysis, enhancing business intelligence.
Elasticsearch is a distributed search and analytics engine for all types of data. Elasticsearch is the central component of the ELK Stack (Elasticsearch, Logstash, and Kibana).
Elasticsearch's API provides access to a wide range of data types, including:
1. Textual data: Elasticsearch can index and search through large volumes of textual data, including documents, emails, and web pages.
2. Numeric data: Elasticsearch can store and search through numeric data, including integers, floats, and dates.
3. Geospatial data: Elasticsearch can store and search through geospatial data, including latitude and longitude coordinates.
4. Structured data: Elasticsearch can store and search through structured data, including JSON, XML, and CSV files.
5. Unstructured data: Elasticsearch can store and search through unstructured data, including images, videos, and audio files.
6. Log data: Elasticsearch can store and search through log data, including server logs, application logs, and system logs.
7. Metrics data: Elasticsearch can store and search through metrics data, including performance metrics, network metrics, and system metrics.
8. Machine learning data: Elasticsearch can store and search through machine learning data, including training data, model data, and prediction data.
Overall, Elasticsearch's API provides access to a wide range of data types, making it a powerful tool for data analysis and search.
What is ELT?
ELT, standing for Extract, Load, Transform, is a modern take on the traditional ETL data integration process. In ELT, data is first extracted from various sources, loaded directly into a data warehouse, and then transformed. This approach enhances data processing speed, analytical flexibility and autonomy.
Difference between ETL and ELT?
ETL and ELT are critical data integration strategies with key differences. ETL (Extract, Transform, Load) transforms data before loading, ideal for structured data. In contrast, ELT (Extract, Load, Transform) loads data before transformation, perfect for processing large, diverse data sets in modern data warehouses. ELT is becoming the new standard as it offers a lot more flexibility and autonomy to data analysts.
What should you do next?
Hope you enjoyed the reading. Here are the 3 ways we can help you in your data journey: