New
Join our webinar! Building a customizable and extensible cloud asset inventory at scale
Back to source plugin

Sync data from Datadog to MongoDB

CloudQuery is the simple, fast data integration platform that can fetch your data from Datadog APIs and load it into MongoDB
Datadog
MongoDB

Trusted by

Self-hosted

Start locally, then deploy to a Virtual Machine, Kubernetes, or anywhere else. Full instructions on CLI setup are available in our documentation.

Cloud-hosted

Start syncing in a few clicks. No need to deploy your own infrastructure.

Fast and reliable

CloudQuery’s efficient design means our syncs are fast and a sync from Datadog to MongoDB can be completed in a fraction of the time compared to other tools.

Easy to use, easy to maintain

Datadog syncing using CloudQuery is easy to set up and maintain thanks to its simple YAML configuration. Once synced, you can use normal SQL queries to work with your data.

A huge library of supported destinations

MongoDB isn’t the only place we can sync your Datadog data to. Whatever you need to do with your Datadog data, CloudQuery can make it happen. We support a huge range of destinations, customizable transformations for ETL, and we regularly release new plugins.

Extensible and Open Source SDK

Write your own connectors in any language by utilizing the CloudQuery open source SDK powered by Apache Arrow. Get out-of-the-box scheduling, rate-limiting, transformation, documentation and much more.

Step by step guide for how to export data from Datadog to MongoDB

MacOS Setup

Step 1: Install CloudQuery

To install CloudQuery, run the following command in your terminal:

brew install cloudquery/tap/cloudquery

Step 2: Create a Configuration File

Next, run the following command to initialize a sync configuration file for Datadog to MongoDB:

cloudquery init --source=datadog --destination=mongodb

This will generate a config file named datadog_to_mongodb.yaml. Follow the instructions to fill out the necessary fields to authenticate against your own environment.

Step 3: Log in to CloudQuery CLI

Next, log in to the CloudQuery CLI. If you have't already, you can sign up for a free account as part of this step:

cloudquery login

Step 4: Run a Sync

cloudquery sync datadog_to_mongodb.yaml

This will start syncing data from the Datadog API to your MongoDB database! 🚀

See the CloudQuery documentation portal for more deployment guides, options and further tips.

FAQs

What is CloudQuery?
CloudQuery is an open-source tool that helps you extract, transform, and load cloud asset data from various sources into databases for security, compliance, and visibility.
Why does CloudQuery require login?
Logging in allows CloudQuery to authenticate your access to the CloudQuery Hub and monitor usage for billing purposes. Data synced with CloudQuery remains private to your environment and is not shared with our servers or any third parties.
What data does CloudQuery have access to?
CloudQuery accesses only the metadata and configurations of your cloud resources that you specify without touching sensitive data or workloads.
How is CloudQuery priced?
CloudQuery offers flexible pricing based on the number of cloud accounts and usage. Visit our pricing page for detailed plans.
Is there a free version of CloudQuery?
Yes, CloudQuery offers a free plan that includes basic features, perfect for smaller teams or personal use. More details can be found on our pricing page.
What authentication details do I need to sync from Datadog to MongoDB?
In order to set up your sync, you will need to create a DD_CLIENT_API_KEY and a DD_CLIENT_APP_KEY. Full details on how to do this can be found in the Datadog documentation. When you set up the app key, Datadog will give you the option to set an access scope for that particular key. Cloudquery only requires read access to sync data from Datadog to MongoDB and you can limit the fields that the key grants access to as required.
How can I track the information that CloudQuery is reading from Datadog?
All of the requests that Cloudquery makes to the Datadog API when running a sync to MongoDB will appear in the Datadog audit trail. You can use this to understand exactly what data is being read and adjust the scope of your app key if required.
What account details are required to set up a sync?
Alongside the App Key and API key, you’ll need to specify the name of your Datadog account in order to set up a sync. Full details on how to do this are contained in the authentication section of our integration documentation.
Can I specify the batch size when syncing from Datadog to MongoDB?
Yes, by default, CloudQuery will sync to MongoDB in batches of 1,000 bytes but if you want to use a different batch size then you can specify this in the batch_size and batch_size_bytes fields.
Where can I store the MongoDB connection string?
For testing purposes, you can hardcode the MongoDB connection string into the specification. However, we highly recommend that you use environment variable substitution when you move the Datadog to MongoDB sync into production as this will help to protect the security of your credentials.
Join our mailing list

Subscribe to our newsletter to make sure you don't miss any updates.

Legal

© 2024 CloudQuery, Inc. All rights reserved.

We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. You can always opt out later via the link in the footer.