From Azure Portalβ
- Navigate to
Network Watcher.
- Under
Logs, select Flow logs.
- Select
+ Create.
- Select a subscription.
- Next to
Flow log type, select Virtual network.
- Click +
Select target resource.
- Select
Virtual network.
- Select a virtual network.
- Click
Confirm selection.
- Select a storage account, or create a new storage account.
- Set the retention in days for the storage account.
- Click
Next.
- Under
Analytics, for Flow logs version, select Version 2.
- Check the box next to
Enable traffic analytics.
- Select a processing interval.
- Select a
Log Analytics Workspace.
- Click
Next.
- Optionally, add
Tags.
- Click
Review + create.
- Click
Create.
- Repeat steps 1-20 for each subscription or virtual network requiring remediation.