Datadog
Set up audit logs webhooks
The following steps are required to connect your Datadog tools to Entitle.
Stage 1: Create a Datadog API key
- Log into Datadog with an Admin account.
- Go to the Organization Settings page.
- Click the New Key button at the top-right corner of the page.

- Enter a name for your API Key, and click the Create Key button.

- Click the Copy button, and save it securely, then click the Finish button. You will need this API Key for later.

Stage 2: Create audit log webhook in Entitle
- Log into Entitle with an Admin account.
- Go to Entitle's Org Settings.
- Scroll down to the Audit Logs Webhooks section.

- In order to add an Audit Log Webhook, click the Add button on the right corner.

- In the row which appears, you will need to fill in the following details, follow the instructions in the Toggle Lists below to do so.
- Webhook URL
- Copy the following URL: https://http-intake.logs.datadoghq.com/api/v2/logs, and paste it in the Webhook URL field.

-
API Key
-
Copy and paste the following JSON text into the Headers field.
{ "DD-API-KEY": "[YOUR_API_KEY]" }
-
Replace
[YOUR_API_KEY]
with the key you saved in stage 1.4.
-

-
Additional Audit Log Parameters
This can make it easier to find logs in Datadog.-
Copy the following JSON text, and paste it into the Additional Audit Log Parameters field.
{ "service": "entitle", "message": "Audit log created" }
-

- Once all the fields are filled in, click the Save button.

This should be the final result (except the API Key should be the one you created):

View audit logs in Datadog
Note: There will be a slight delay until the audit logs are visible in Datadog. We take a few moments to gather the audit logs, and Datadog takes some time to index the logs.
Following these next steps, you will be able to view the audit logs you have created:
-
Go to the Logs section in Datadog.
-
Copy and paste the following query text into the Search for field.
service:entitle

- Adjust the time range to include the time in which your audit logs were created.

- Click on a result to view the details.

- A sidebar will open to the right with the details of the audit log.

Updated about 1 month ago