Maximum Number of Log Streams

Last Updated: Sep 12, 2024

Overview

This article clarifies the maximum number of log streams allowed on a subscription plan when it does not appear to allow the creation of more than two. It also details how to add them.

Applies To

  • Log Streams

Solution

For Enterprise subscriptions, an increase of the maximum number of log streams allowed from two to three on each tenant can be requested via a Support Ticket.

If more log streams are needed, the recommendation is to use an event hub like Amazon EventBridge or Azure EventGrid or the custom webhook stream to propagate the events.

Event Hubs act as a “streaming platform” where events can be sent and delivered to various consumers in real time, then forwarded to different systems, such as databases.

To use an Event Hub is needed to:

  1. Set up an Event Hub (Azure and AWS have solutions for this, but there might be more providers).
  2. Configure Auth0 Log Streaming so it sends events to the Event Hub. For example, in Azure, this would be the Event Hub endpoint.
  3. Set up multiple consumers for the Event Hub so they will be subscribed to the Auth0 Log Stream data. All these consumers can forward the events to wherever they want: development databases, staging databases, etc.
  4. Process logs for each environment so that each consumer can filter, transform, and process the logs as needed.

Related References