Skip to main content
This page describes how to configure the Datadog connector component as part of a data pipeline within . The Datadog component uses the Connect and Configure parameters to create a table of Datadog data, which is then stored in your preferred storage location (Snowflake, Databricks, Amazon Redshift, or cloud storage). You do not need to use the Create Table component when using this connector, as the Datadog component will create a new table or replace an existing table for you using the Destination parameters you define. The Datadog connector is a Flex connector. In , Flex connectors let you connect to a curated set of endpoints to load data. You can use the Datadog connector in its preconfigured state, or you can edit the connector by adding or amending available Datadog endpoints as per your use case. You can edit Flex connectors in the Custom Connector user interface. For detailed information about authentication, specific endpoint parameters, pagination, and more aspects of the Datadog API, read the Datadog API documentation.

Properties

Reference material is provided below for the Connect, Configure, Destination, and Advanced Settings properties.
Name
string
required
A human-readable name for the component.

Connect

Data Source
drop-down
required
The data source to load data from in this pipeline. The drop-down menu lists the Datadog API endpoints available in the connector. For detailed information about specific endpoints, read the Datadog API documentation.
EndpointMethodReference
Get All Dashboard ListsGETRetrieve all dashboard lists
Get All DowntimesGETRetrieve all downtimes
Get All TeamsGETRetrieve all teams
List All UsersGETList all users
Search MonitorsGETMonitors search
Get All Monitor DetailsGETRetrieve all monitor details
Get All Synthetics TestsGETRetrieve the list of all Synthetic tests
Get All DashboardsGETRetrieve all dashboards
Get List of EventsGETRetrieve a list of events
Get All HostsGETRetrieve all hosts for your organization
List IP RangesGETList IP Ranges
Get All API KeysGETRetreive all API keys
Get All Application KeysGETRetrieve all application keys
Get All SLOsGETRetrieve all SLOs
Search LogsPOSTSearch logs
Get MetricsGETRetrieve a list of metrics
Authentication Type
drop-down
required
The authentication method to authorize access to your Datadog data. Currently supports API Key.
Key
string
required
The key of a working API key:value pair.Enter DD-API-KEY in the Key field.
All endpoints (listed below), also need an Application key, which uses the header DD-APPLICATION-KEY. For more information, read Getting started.
Value
drop-down
required
Use the drop-down menu to select the corresponding secret definition that denotes the value of a working API key:value pair.Read Secrets and secret definitions to learn how to create a new secret definition.Read the Datadog API documentation to learn how to acquire an API key.

Configure

URI Parameters
column editor
required
  • Parameter Name: The name of a URI parameter.
  • Parameter Value: The value of the corresponding parameter.
Required parameterEndpointsDescription
VERSIONGet All Dashboard Lists, Get All Downtimes, Search Monitors, Get All Monitor Details, Get All Synthetics Tests, Get All Dashboards, Get List of Events, Get All Hosts, Get All SLOsv1
VERSIONGet All Teams, List All Users, Get All API Keys, Get All Application Keysv2
Query Parameters
column editor
required
  • Parameter Name: The name of a query parameter.
  • Parameter Value: The value of the corresponding parameter.
Required parameterEndpointsDescription
querySearch MonitorsAfter entering a search query in your Manage Monitor page, use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated manage monitor documentation page to learn more. The query can contain any number of space-separated monitor attributes, for instance query="type:metric status:alert".
nameGet All Monitor DetailsA string to filter monitors by name.
tagsGet All Monitor DetailsA comma-separated list indicating what tags, if any, should be used to filter the list of monitors by scope. Enter env:prod.
pageGet All Monitor DetailsThe page to start paginating from. If this argument is not specified, the request returns all monitors without pagination.
pageGet List of EventsBy default, 1000 results are returned per request. Set page to the number of the page to return with 0 being the first page. The page parameter can only be used when either unaggregated or exclude_aggregate is set to true.
page_sizeGet All Monitor DetailsThe number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a page_size limit. However, if page is specified and page_size is not, the argument defaults to 100. For example, enter 200.
startGet List of EventsEnter a POSIX timestamp for the start of the list, for example 1688601600.
endGet List of EventsEnter a POSIX timestamp for the end of the list, for example 1688601600.
exclude_aggregateGet List of EventsSet exclude_aggregate to true to only return unaggregated events with is_aggregate=false in the response. If the exclude_aggregate parameter is set to true, then the unaggregated parameter is ignored and will be true by default. Enter true.
filterGet All HostsString to filter search results.
Header Parameters
column editor
required
  • Parameter Name: The name of a header parameter.
  • Parameter Value: The value of the corresponding parameter.
Required parameterEndpointsDescription
DD-APPLICATION-KEYAll endpointsUse this application key to authenticate to the Datadog API. For more information, read Application keys.
Content-TypeSearch Logsapplication/json
Post Body
JSON
A JSON body to include as part of a POST request. Use Custom Connector to test your endpoints work as expected before moving to pipelines.You should also consult the developer documentation for the API you’re connecting to—as the developer portal may provide additional information about endpoints and requests.For the Search Logs endpoint, include the following POST Body:
{
  "filter": {
    "query": "env:prod service:myservice \"some search text\" || \"a different search text\" ",
    "indexes": [
      "main"
    ],
    "from": "2023-07-21T10:00:36+01:00",
    "to": "2023-08-21T10:45:36+01:00"
  },
  "sort": "timestamp",
  "page": {
    "limit": 150
  }
}
Page Limit
integer
A numeric value to limit the maximum number of records per page.

Destination

Select your cloud data warehouse.
Destination
drop-down
required
  • Snowflake: Load your data into Snowflake. You’ll need to set a cloud storage location for temporary staging of the data.
  • Cloud Storage: Load your data directly into your preferred cloud storage location.
Click either the Snowflake or Cloud Storage tab on this page for documentation applicable to that destination type.
Warehouse
drop-down
required
The Snowflake warehouse used to run the queries. The special value [Environment Default] uses the warehouse defined in the environment. Read Overview of Warehouses to learn more.
Database
drop-down
required
The Snowflake database. The special value [Environment Default] uses the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.
Schema
drop-down
required
The Snowflake schema. The special value [Environment Default] uses the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.
Table Name
string
required
The name of the table to be created.
Load Strategy
drop-down
required
  • Replace: If the specified table name already exists, that table will be destroyed and replaced by the table created during this pipeline run.
  • Truncate and Insert: If the specified table name already exists, all rows within the table will be removed and new rows will be inserted per the next run of this pipeline.
  • Fail if Exists: If the specified table name already exists, this pipeline will fail to run.
  • Append: If the specified table name already exists, then the data is inserted without altering or deleting the existing data in the table. It’s appended onto the end of the existing data in the table. If the specified table name doesn’t exist, then the table will be created, and your data will be inserted into the table.
Clean Staged files
boolean
required
  • Yes: Staged files will be destroyed after data is loaded. This is the default setting.
  • No: Staged files are retained in the staging area after data is loaded.
Stage Access Strategy
drop-down
Select the stage access strategy. The strategies available depend on the cloud platform you select in Stage Platform.
  • Credentials: Connects to the external stage (AWS, Azure) using your configured cloud provider credentials. Not available for Google Cloud Storage.
  • Storage Integration: Use a Snowflake storage integration to grant access to Snowflake to read data from and write to a cloud storage location. This will reveal the Storage Integration property, through which you can select any of your existing Snowflake storage integrations.
Stage Platform
drop-down
required
Choose a data staging platform using the drop-down menu.
  • Amazon S3: Stage your data on an AWS S3 bucket.
  • Snowflake: Stage your data on a Snowflake internal stage.
  • Azure Storage: Stage your data in an Azure Blob Storage container.
  • Google Cloud Storage: Stage your data in a Google Cloud Storage bucket.
Click one of the tabs below for documentation applicable to that staging platform.
Storage Integration
drop-down
required
Select the storage integration. Storage integrations are required to permit Snowflake to read data from and write to a cloud storage location. Integrations must be set up in advance of selecting them. Storage integrations can be configured to support Amazon S3, Google Cloud Storage, or Microsoft Azure Blob Storage, regardless of the cloud provider that hosts your Snowflake account.
Amazon S3 Bucket
drop-down
required
An AWS S3 bucket to stage data into. The drop-down menu will include buckets tied to the cloud provider credentials that you have associated with your environment.

Advanced Settings

Log Level
drop-down
Set the severity level of logging. Choose from Error, Warn, Info, Debug, or Trace. Logs can be found in the Message field of the task details after the pipeline has been run.
Load Selected Data
boolean
Choose whether to return the entire payload or only selected data objects. Read Structure to learn how to select which data objects to include in your API response.
  • No: Will return the entire payload. This is the default setting.
  • Yes: Will return only the objects in Custom Connector that are marked as Selected Data in the Structure setting.

Deactivate soft delete for Azure blobs (Databricks)

If you intend to set your destination as Databricks and your stage platform as Azure Storage, you must turn off the “Enable soft delete for blobs” setting in your Azure account for your pipeline to run successfully. To do this:
  1. In the Azure portal, navigate to your storage account.
  2. In the menu, under Data management, click Data protection.
  3. Clear the Enable soft delete for blobs checkbox. For more information, read Soft delete for blobs.