Skip to main content

Azure activity logs

Activity logs are the audit trail of operations performed on the resources in a subscription — creations, deletions, and updates. That is the management plane, as distinct from the resource logs that record what happens inside a resource.

Collection takes two moves: an export that streams the activity log to an Event Hub, and the Event Hub integration that forwards from there.

What you need

  • An Azure account with an active subscription.
  • An Event Hub namespace. If yours restricts public access, enable VNet support first — see the optional configuration steps.

Export the activity log

1.
Open the export

Navigate to your Subscription, then Activity log, then select Export Activity Logs.

2.
Add a diagnostic setting

Select Add diagnostic setting and give it a name.

3.
Pick the categories and destination

Select the categories you want — Administrative, Security, ServiceHealth, Alert, Recommendation, Policy, Autoscale, and ResourceHealth. Under Destination details, select Stream to an event hub and choose your subscription, namespace, event hub, and policy. Select Save.

Azure Diagnostic setting page with all activity log categories selected and Stream to an event hub configured

Shows the eight activity log categories alongside the Event Hub destination they stream to.

Forward from the Event Hub

Deploy the Azure Event Hub integration to collect the messages and submit them to Coralogix. Two deployment paths are available:

PathUse
Azure Event Hub ARMDeploy from an ARM template
ARM Event Hub integration packageDeploy the packaged version
Azure Event Hub TerraformDeploy with Terraform
Last updated on