How to load data from Datadog to

Learn how to use Airbyte to synchronize your Datadog data into within minutes.

Trusted by data-driven companies

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.

Building in-house pipelines
Bespoke pipelines are:
  • Inconsistent and inaccurate data
  • Laborious and expensive
  • Brittle and inflexible
Furthermore, you will need to build and maintain Y x Z pipelines with Y sources and Z destinations to cover all your needs.
After Airbyte
Airbyte connections are:
  • Reliable and accurate
  • Extensible and scalable for all your needs
  • Deployed and governed your way
All your pipelines in minutes, however custom they are, thanks to Airbyte’s connector marketplace and AI Connector Builder.

Start syncing with Airbyte in 3 easy steps within 10 minutes

Set up a Datadog connector in Airbyte

Connect to Datadog or one of 400+ pre-built or 10,000+ custom connectors through simple account authentication.

Set up for your extracted Datadog data

Select where you want to import data from your Datadog source to. You can also choose other cloud data warehouses, databases, data lakes, vector databases, or any other supported Airbyte destinations.

Configure the Datadog to in Airbyte

This includes selecting the data you want to extract - streams and columns -, the sync frequency, where in the destination you want that data to be loaded.

Take a virtual tour

Check out our interactive demo and our how-to videos to learn how you can sync data from any source to any destination.

Demo video of Airbyte Cloud

Demo video of AI Connector Builder

What sets Airbyte Apart

Modern GenAI Workflows

Streamline AI workflows with Airbyte: load unstructured data into vector stores like Pinecone, Weaviate, and Milvus. Supports RAG transformations with LangChain chunking and embeddings from OpenAI, Cohere, etc., all in one operation.

Move Large Volumes, Fast

Quickly get up and running with a 5-minute setup that supports both incremental and full refreshes, for databases of any size.

An Extensible Open-Source Standard

More than 1,000 developers contribute to Airbyte’s connectors, different interfaces (UI, API, Terraform Provider, Python Library), and integrations with the rest of the stack. Airbyte’s AI Connector Builder lets you edit or add new connectors in minutes.

Full Control & Security

Airbyte secures your data with cloud-hosted, self-hosted or hybrid deployment options. Single Sign-On (SSO) and Role-Based Access Control (RBAC) ensure only authorized users have access with the right permissions. Airbyte acts as a HIPAA conduit and supports compliance with CCPA, GDPR, and SOC2.

Fully Featured & Integrated

Airbyte automates schema evolution for seamless data flow, and utilizes efficient Change Data Capture (CDC) for real-time updates. Select only the columns you need, and leverage our dbt integration for powerful data transformations.

Enterprise Support with SLAs

Airbyte Self-Managed Enterprise comes with dedicated support and guaranteed service level agreements (SLAs), ensuring that your data movement infrastructure remains reliable and performant, and expert assistance is available when needed.

What our users say

Jean-Mathieu Saponaro
Data & Analytics Senior Eng Manager

"The intake layer of Datadog’s self-serve analytics platform is largely built on Airbyte.Airbyte’s ease of use and extensibility allowed any team in the company to push their data into the platform - without assistance from the data team!"

Learn more
Chase Zieman headshot
Chase Zieman
Chief Data Officer

“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.”

Learn more
Alexis Weill
Data Lead

“We chose Airbyte for its ease of use, its pricing scalability and its absence of vendor lock-in. Having a lean team makes them our top criteria.
The value of being able to scale and execute at a high level by maximizing resources is immense”

Learn more

How to Sync Datadog to Manually

Step 1: Understand Datadog API

Before you start, familiarize yourself with the Datadog API. You’ll need to use the API to retrieve the data you want to move to SQL Server. Check the Datadog API documentation to find the appropriate endpoints and data formats. You may need to create an API key in your Datadog account to authenticate your requests.

Step 2: Set Up Your SQL Server Database

  1. Install SQL Server: Make sure you have Microsoft SQL Server installed and running.
  2. Create a Database: Create a new database on your SQL Server instance to store the data from Datadog.
  3. Design the Database Schema: Define the tables and columns that will store the Datadog data, ensuring they match the structure of the data you’ll be retrieving from the API.

Step 3: Write a Script to Fetch Data from Datadog

  1. Choose a Programming Language: Select a programming language that you are comfortable with and that can make HTTP requests and connect to SQL Server (e.g., Python, C#, PowerShell).
  2. Fetch Data: Write a script that uses the Datadog API to fetch the data you want. You’ll need to handle pagination if you’re dealing with large datasets.
  3. Parse the Data: Parse the JSON response from the Datadog API to extract the data you need.

Step 4: Insert Data into SQL Server

  1. Connect to SQL Server: In the same script, establish a connection to your SQL Server database using the appropriate library for your programming language (e.g., pyodbc for Python, System.Data.SqlClient for C#).
  2. Prepare the Data: Transform the data into a format suitable for insertion into the SQL Server database, matching the schema you designed.
  3. Insert the Data: Write SQL INSERT statements to add the data to your SQL Server database. Use parameterized queries to avoid SQL injection attacks.

Step 5: Schedule the Data Transfer

  1. Automate the Process: To keep your SQL Server database up-to-date, schedule your script to run at regular intervals (e.g., using Cron jobs on Linux or Task Scheduler on Windows).
  2. Error Handling: Implement error handling in your script to manage any potential issues during the data transfer process.
  3. Logging: Add logging to your script to keep track of the data transfer status and to troubleshoot any issues that may arise.

Step 6: Test and Monitor

  1. Test the Script: Run the script manually to ensure that it correctly fetches data from Datadog and inserts it into your SQL Server database.
  2. Monitor: After deploying the script, monitor its execution and the data integrity in your SQL Server database to ensure everything is working as expected.

Step 7: Documentation

Document the Process: Write documentation for your data transfer process, including how the script works, the schedule, and any monitoring or alerting systems you have in place.

Example Script Outline (Python)

Here’s a very high-level outline of what a Python script might look like:

import requests
import pyodbc

# Datadog API setup
api_key = 'your_api_key'
app_key = 'your_app_key'
datadog_endpoint = 'https://api.datadoghq.com/api/v1/query'

# SQL Server connection setup
conn_str = 'DRIVER={ODBC Driver 17 for SQL Server};SERVER=your_server;DATABASE=your_db;UID=your_user;PWD=your_password'
conn = pyodbc.connect(conn_str)
cursor = conn.cursor()

# Fetch data from Datadog
response = requests.get(datadog_endpoint, params={'api_key': api_key, 'application_key': app_key, 'query': 'your_query'})
data = response.json()

# Parse and insert data into SQL Server
for entry in data['series']:
   # Transform the data as needed
   transformed_data = transform_data(entry)

   # Insert into SQL Server
   cursor.execute("INSERT INTO your_table (column1, column2) VALUES (?, ?)", transformed_data)
   conn.commit()

# Close the connection
cursor.close()
conn.close()

Remember to replace placeholders like your_api_key, your_server, your_db, your_user, your_password, and your_query with your actual Datadog API keys, SQL Server connection details, and query parameters.

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.

What is Datadog?

Datadog is a monitoring and analytics tool for information technology (IT) and DevOps teams that can be used for performance metrics as well as event monitoring for infrastructure and cloud services. The software can monitor services such as servers, databases and appliances Datadog monitoring software is available for on-premises deployment or as Software as a Service (SaaS). Datadog supports Windows, Linux and Mac operating systems. Support for cloud service providers includes AWS, Microsoft Azure, Red Hat OpenShift, and Google Cloud Platform.

What data can you extract from Datadog?

Datadog's API provides access to a wide range of data related to monitoring and analytics of IT infrastructure and applications. The following are the categories of data that can be accessed through Datadog's API:  

1. Metrics: Datadog's API provides access to a vast collection of metrics related to system performance, network traffic, application performance, and more.  
2. Logs: The API allows users to retrieve logs generated by various applications and systems, which can be used for troubleshooting and analysis.  
3. Traces: Datadog's API provides access to distributed traces, which can be used to identify performance bottlenecks and optimize application performance.  
4. Events: The API allows users to retrieve events generated by various systems and applications, which can be used for alerting and monitoring purposes.  
5. Dashboards: Users can retrieve and manage dashboards created in Datadog, which can be used to visualize and analyze data from various sources.  
6. Monitors: The API allows users to create, update, and manage monitors, which can be used to alert on specific conditions or events.  
7. Synthetic tests: Datadog's API provides access to synthetic tests, which can be used to simulate user interactions with applications and systems to identify performance issues.  

Overall, Datadog's API provides a comprehensive set of data that can be used to monitor and optimize IT infrastructure and applications.

How do I transfer data from Datadog?

This can be done by building a data pipeline manually, usually a Python script (you can leverage a tool as Apache Airflow for this). This process can take more than a full week of development. Or it can be done in minutes on Airbyte in three easy steps: 
1. Set up Datadog to MSSQL - SQL Server as a source connector (using Auth, or usually an API key)
2. Choose a destination (more than 50 available destination databases, data warehouses or lakes) to sync data too and set it up as a destination connector
3. Define which data you want to transfer from Datadog to MSSQL - SQL Server and how frequently
You can choose to self-host the pipeline using Airbyte Open Source or have it managed for you with Airbyte Cloud. 

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:

flag icon
Easily address your data movement needs with Airbyte Cloud
Take the first step towards extensible data movement infrastructure that will give a ton of time back to your data team. 
Get started with Airbyte for free
high five icon
Talk to a data infrastructure expert
Get a free consultation with an Airbyte expert to significantly improve your data movement infrastructure. 
Talk to sales
stars sparkling
Improve your data infrastructure knowledge
Subscribe to our monthly newsletter and get the community’s new enlightening content along with Airbyte’s progress in their mission to solve data integration once and for all.
Subscribe to newsletter