Datadog Auth0 Log Stream Integration for Regions in Japan
Last Updated:
Overview
The native Auth0 Log Stream integration with Datadog only supports the EU and US1/US3/US5 regions, making the Japan region (AP1) unavailable in the Auth0 Dashboard. To route logs to the Datadog Japan region, bypass the native integration limitation by sending logs to an Amazon Web Services (AWS) EventBridge Partner Event Bus and forwarding them to the Datadog HTTP-Intake API via an EventBridge API Destination.
Applies To
- Auth0
- Log Streams
- Datadog
Cause
The native Auth0 Log Stream integration with Datadog only supports the EU and US1/US3/US5 regions. The Japan region (AP1 or ap1.datadog.com) is not natively available in the Auth0 Dashboard dropdown menu.
Solution
How are logs routed to the Datadog Japan region?
Configure a custom log stream in the Auth0 dashboard to send logs to an Amazon Web Services (AWS) EventBridge Partner Event Bus, and then forward the logs to the Datadog HTTP-Intake API using an EventBridge API Destination.
- Set up a custom log stream in the Auth0 dashboard and select Amazon EventBridge as the destination.
- Configure a new EventBridge Rule on the Partner Event Bus in AWS that catches the Auth0 logs.
- Assign an EventBridge Target to the rule.
- Configure an EventBridge API Destination to securely route the traffic to the Datadog Logs HTTP-Intake API endpoint for the AP1 region.
What is the data flow summary for this configuration?
The data flows through the configured components in the following sequence.
- Auth0 Log Stream
- AWS Partner Event Bus
- EventBridge Rule
- EventBridge Target
- API Destination
- Datadog AP1 HTTP-Intake API