HTTP Event Log Streams
HTTP Event Log Streams let you export your log events to the server or target of your choice. When Auth0 creates a log entry for your tenant, a copy is automatically sent to a given URL via an HTTP POST request.
If you use Amazon Web Services, Auth0 also offers an AWS EventBridge integration.
See our example HTTP Event Log Stream example using Slack.
Create an HTTP Event Stream
- Log in to the Auth0 Dashboard.
- Navigate to Logs > Streams.
- Click + Create Stream.
- Select Custom Webhook and enter a unique name for your new HTTP Event Stream.
- On the next screen, provide the following settings for your HTTP Event Stream:
|Name||A unique display name to distinguish this integration from other integrations|
|Payload URL||The URL where the event payloads are sent as HTTP POST requests.|
|Authorization Token||(Optional) Set in the Authorization header of the request if provided.|
|Content Type||The media type of the payload that will be delivered to the webhook.|
- Click Save.
- You're done! Now when Auth0 writes the next tenant log, you'll receive a copy of that log event as a POST request at the
Payload URLyou provided.
Delivery attempts and retries
Auth0 events are delivered to your server via a streaming mechanism that sends each event as it is triggered in our system. If your server is unable to receive the event, we will retry up to three times to deliver the event; otherwise, we will log the failure to deliver in our system, and you will be able see these failures in the Health tab for your log stream.