Skip to main content

Pre-requisites

Only users with an Admin or Standard role can create new keys.

Generate Datadog API Key and Application Key

1

Access Datadog

  1. Login to the Datadog Account.
  2. Provide the necessary credentials (email and password), and click Sign In.
2

Navigate to Settings

  1. After logging in, click on your profile icon (bottom-left corner).
  2. Select Organization Settings, click on API Keys.
3

Create an API Key

  1. Click on + New Key button. Datadog2 Pn
  2. Enter a Name for the New API Key (e.g., Test-API-Key).
  3. Click Create Key.
  4. Copy and securely store the generated API Key (you wonโ€™t be able to see it again). ๐Ÿ“Œ Note: API Keys are used for authentication when sending logs, metrics, and traces to Datadog.
4

Create an Application Key

  1. Click on your profile icon (bottom-left corner).
  2. Select Organization Settings, click on Application Keys.
  3. Click New Key.
  4. Enter a name for the Application Key (e.g., Test-Application-Key).
  5. Click Create Key.
  6. Copy and securely store the Application Key. ๐Ÿ“Œ Note: Application Keys are used for making authenticated API requests to Datadog (e.g., retrieving logs, dashboards, or managing configurations).
Share the API Key and Application Key securely to AirMDR.
(or)
Self Configure Datadog API in the AirMDR Integrations Dashboard.

Skills Provided by this Integration

Skill IDPurpose
Fetch Signals from DatadogFetches signals that match a specific query in the Datadog dashboard.
Fetch Logs from DatadogFetches logs that match a log search query in datdog dashboard.
Fetch Incidents from DatadogFetches incident details that match a specific query in the Datadog dashboard.
To view the details of Input Parameters and Output for the respective skills
  • Go to AirMDR โ†’ DataDog Integration page.
  • Select the Skills tab and click on the required listed skills.

Configure Datadog API in AirMDR Integrations Dashboard

  1. Navigate to AirMDR, provide the credentials and click Login
  2. Navigate to the AirMDR Integrations Dashboard in the left navigation pane and select Integrations. Air MDR Left Navigation Pane Pn
  3. Use the search option, enter the keyword โ€œDatadogโ€, select the Connections tab, and click Add New Connection. Datadog14 Pn
  4. Enter an unique name to the Instance (e.g., your org name-Datadog) and brief Description to easily identify the user connection by AirMDR.
  5. Enter the generated API Key, Application Key and Expiry (optional) in the Authentication Details field params, and click Save. Datadog15 Pn

Evaluate Datadog API & Application Keys

Open cURL and run the following command to check if your API Key is working:

curl -X GET 'https://api.datadoghq.com/api/v2/users?page[size]=1&page[offset]=1' \
-H 'Content-Type: application/json' \
-H 'DD-API-KEY: your_api_key_here' \
-H 'DD-APPLICATION-KEY: your_application_key_here' \
-H 'Accept: application/json'
Response
{"valid": true}