- Quickly identify application issues in real time using ngrok Traffic Events with Datadog ML-based monitoring.
- Historically audit changes occurring in an account.
- Visualize usage of your service using Datadog queries and analytic charts.
- Identify security issues using ngrok events and Datadog SIEM.
What you’ll need
- Familiarity with the ngrok events and which ones you want to send to Datadog.
- Your Datadog site confirmed.
- A Datadog API key.
1. Create a log export
- In a browser, go to the ngrok dashboard and navigate to Events Stream under Traffic Observability in the left navigation.
- Select Create Subscription.
- In the Log Exporting configuration, provide a description for the export.
- In the Sources tab, select Add Source to choose which events to send to Datadog.
- Select Add Event Sources to confirm your selections.
2. Create event destination
To send events to Datadog, assign an Event Destination to the Log Export.- In the Log Exporting configuration Destination tab, select Add Destination.
- Choose Datadog as the target and fill in the required information, including which Datadog site your data uses.
Target, Region, and API Key are required; other values are optional:
- Service Name is added as a key-value pair to the event payload as
service:value. - DD Tags values are added as tags to the event data sent to Datadog.
- Service Name is added as a key-value pair to the event payload as
- When all required inputs have values, select Send Test Event.
- You should see a Success message.
- Select Done to complete the Datadog Event Destination setup.
Troubleshooting: If you receive a 403 error instead of a Success message, double-check your API key and confirm that you selected the correct Datadog site.