Stream Logs to Sumo Logic
You can create monitoring, alerting, and analysis dashboards in Sumo Logic for Auth0 tenants.
Obtain HTTP source address from Sumo Logic
To send Auth0 events to Sumo Logic, you will need to know the HTTP source URL generated when you define a new HTTP source in Sumo Logic for collecting streaming data. For details see Sumo Logic help.
Navigate to the Sumo Logic Collection page (in the sidebar menu under Manage Data).
Click Add Collector on the top right of the selection.
Select Hosted Collector.
Provide a name and category and click Save and click yes.
Choose HTTP Logs and Metrics.
Add details such as name, source host, and source category.
Click Save and yes. Your unique HTTP source address will be displayed.
Set up log event stream in Auth0
Log in to the Auth0 Dashboard and go to Logs > Streams
Click + Create Stream.
Select Sumo Logic, and enter a unique name for your new Sumo Logic Event Stream.
On the next screen, provide the following settings for your Sumo Logic Event Stream:
Setting Description Name The name given for the stream being created in Auth0. This is only used within your Auth0 account to later view the defined log stream. HTTP Source Address Generated URL for your defined HTTP source in Sumo Logic for collecting streaming data from Auth0.
Click Save. When Auth0 writes the next log event, you'll receive a copy of that log event in Sumo Logic with the _
View logs in Sumo Logic
Log in to your Sumo Logic instance.
Navigate to the Sumo Logic Collection page.
_source=”auth0 logs”in a search query to find all Auth0 logs.
Delivery attempts and retries
Auth0 events are delivered to your server via a streaming mechanism that sends each event as it is triggered. If your server is unable to receive the event, Auth0 will try to redeliver it up to three times. If still unsuccessful, Auth0 will log the failure to deliver, and you will be able to see these failures in the Health tab for your log stream.