---
title: Auth0
description: View and analyze your Auth0 events
breadcrumbs: Docs > Integrations > Auth0
---

# Auth0
Supported OS Integration version1.1.0Auth0 Dashboard
## Overview{% #overview %}

Auth0 is an identity platform for development teams which provides developers and enterprises with the building blocks they need to secure their applications.

This integration leverages Auth0's Log Streaming to send logs directly to Datadog. The logs are sent in real time as they are generated in Auth0, giving customers up-to-date information about their Auth0 tenant. One of the key benefits of using this integration is the ability to collect and visualize data in order to identify trends. Engineering teams use it to visualize error rates and traffic data. Security teams use it to visualize authorization traffic and set up alerts for high-risk actions. The integration also collects metrics to provide insight into API usage.

### Key use cases{% #key-use-cases %}

#### Correlate activity with identity data to surface trends{% #correlate-activity-with-identity-data-to-surface-trends %}

Identity data provides crucial insight into who performed what activity. This allows teams to better understand user behavior across their system.

#### Decisions about system architecture and development{% #decisions-about-system-architecture-and-development %}

By tracking identity trends over time, teams can make informed decisions about product development and system architecture. As an example teams might prioritize development based on tracking peak login times, authentication activity and geographical activity.

#### Quickly respond to performance and security incidents{% #quickly-respond-to-performance-and-security-incidents %}

Identity information can be used to quickly identify security and performance incidents. For instance, massive spikes in unsuccessful login attempts could indicate an ongoing credential stuffing attack, one of the most common threats targeting identity systems.

By configuring thresholds, security teams can set up alerts to notify them when suspicious events take place, allowing them to more quickly respond to security incidents.

#### Understand API usage trends{% #understand-api-usage-trends %}

Use the `auth0.api_request.count` metric to monitor Auth0 API usage patterns and trends.

## Setup{% #setup %}

All configuration happens on the [Auth0 Dashboard](https://manage.auth0.com).

1. Log in to the [Auth0 Dashboard](https://manage.auth0.com).

1. Navigate to **Logs** > **Streams**.

1. Click **+ Create Stream**.

1. Select Datadog and enter a unique name for your new Datadog Event Stream.

1. On the next screen, provide the following settings for your Datadog Event Stream:

| Setting   | Description                                                                                                                                                                  |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `API Key` | Enter your [Datadog API key](https://app.datadoghq.com/organization-settings/api-keys).                                                                                      |
| `Region`  | Your [Datadog site](https://docs.datadoghq.com/getting_started/site/). For example, `EU` for app.datadoghq.eu, `US1` for app.datadoghq.com, and `US3` for us3.datadoghq.com. |

1. Click Save.

When Auth0 writes the next tenant log, you receive a copy of that log event in Datadog with the source and service set to `auth0`.

### Validation{% #validation %}

View logs in Datadog:

1. Navigate to **Logs** > **Livetail**.
1. See Auth0 logs by setting `source:auth0`.
1. Navigate to **Metrics** > **Explorer**.
1. Verify the `auth0.api_request.count` metric is being collected.

## Data Collected{% #data-collected %}

### Log collection{% #log-collection %}

Auth0 logs are collected and sent to Datadog. The types of logs that could be returned are outlined in the [Log Event Type Codes](https://auth0.com/docs/logs/references/log-event-type-codes).

### Metrics{% #metrics %}

|  |
|  |
| **auth0.api\_request.count**(count) | Requests received by Auth0.*Shown as request* |

### Service Checks{% #service-checks %}

auth0 does not include any service checks.

### Events{% #events %}

auth0 does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/). Read more about this integration in our [blog post](https://www.datadoghq.com/blog/monitor-auth0-with-datadog/).
