Nov 30 2019 07:12 AM
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/activity-logs-overview
Can I please know how can the activity logs from a subscription can be routed via code to an event hub?
I would like to create via code an Activity Log -> Export to Event Hub -> Select all the category logs (Administrative, Service Health, etc ) -> to an Event Hub via Azure CLI or PowerShell