Collect Azure Activity logs
Last updated
Was this helpful?
You can use the Azure Event Hubs Listener to collect Azure Activity Logs.
In order to use the Azure Event Hubs Listener, you must activate the environment variable in your distributor using docker compose (AZURE_EVENTHUB_LISTENER_EXECUTION_ENABLED)
In order to ingest activity logs and not hub events, we need to stream the logs to an event hub and configure diagnostic settings for Activity Logs.
Go to Azure Portal > Monitor > Activity Log.
Click Diagnostic Settings > Add diagnostic setting. Give the setting a name.
Select Stream to an event hub.
Choose your Event Hubs namespace and Event Hub.
Select All Metrics and the relevant log categories.
Save the settings and your Event Hub can now be used in the Listener.
For more information, see the Activity Logs documentation.
There are various management credentials that Onum needs to communicate with the event hub:
Event Hubs namespace
Event hub
See the Azure Event Hubs documentation for how to create these.
Log in to your Onum tenant and click Listeners > New listener. Double-click the Azure Event Hubs Listener. See the configuration steps in this article.
Last updated
Was this helpful?
Was this helpful?

