Azure Virtual network (VNet) Flow Log Setup
Netography Fusion ingests Virtual network (VNet) flow logs from Azure via an Azure Storage account. The steps to integrate with Azure are:
Register Microsoft Insights provider (in each Azure subscription containing virtual networks you are onboarding).
Create a storage account in Azure (for each region you are onboarding virtual networks).
Create a flow log for the virtual network in Azure (for each virtual network you are onboarding).
In Fusion, Add Azure VNet as a new flow source (for each virtual network you are onboarding).
In addition to ingesting VNet flow logs, you may want to enrich them with context from Azure resources by adding the Microsoft Azure context integration.
Prerequisites
Access to the Azure subscription(s) to onboard with an
OwnerorContributorrole, or a custom role with the specific permissions required for each step.To register Microsoft Insights provider requires
/register/actionoperation permissions for the Insights provider. The permission is included in theOwnerandContributorroles.To create flow logs for a virtual network requires
Microsoft.Network/networkWatchers/configureFlowLog/actionpermission. The permission is included in theOwner,Contributor, andNetwork contributorroles.To create a storage account requires
Microsoft.Storage/storageAccounts/*permission. The permission is included in theOwner,Contributor, andStorage account contributorrole.
Azure Network Watcher must be enabled in the subscription and region for which the virtual network flow logs are enabled. This is enabled by default in Azure, but if you previously chose to opt out of Network Watcher automatic enablement, you must manuallly enable Network Watcher in each subscription and region containing virtual networks you are onboarding to Fusion. See Enable or Disable Azure Network Watcher.
If Azure Policy is in use, you may be restricted from performing these steps, even if you have the
Azure Global Administratorrole. If this is the case, you will receive an AzureRequestDisallowedByPolicyerror. See Resolve errors for request disallowed by policy.
Microsoft Azure Instructions
1. Register Microsoft Insights Provider
You can skip this step if VNet flow logs are already enabled or if the Microsoft.Insights provider is already registered in the Azure subscription.
Microsoft.Insights provider must be registered in the virtual network's Azure subscription. You only need to perform this action once for each subscription containing virtual networks being monitored.
Follow these steps to register the Microsoft.Insights provider: Microsoft Register Insights provider page.
Azure Console Steps
Enter subscriptions in the search box at the top of Azure Console and select Subscriptions from the results.
In the Subscriptions list, select the Azure subscription that you wish to enable the provider for.
Under Settings, select Resource providers.
Enter insight in the filter box.
Confirm the status of the Microsoft.Insights provider displayed is Registered. If the status is NotRegistered, select the Microsoft.Insights provider then select Register.
2. Create a Storage Account for each region
If you are using the Azure Console to perform these steps, you can create a new storage account while creating the flow logs in the next step and skip this step.
Azure writes flow logs to an Azure storage account, and Fusion reads flow logs from the Azure storage account. Create a storage account for each region that contains virtual networks you are onboarding.
If you are onboarding multiple subscriptions in a single Azure tenant, you can have 1 set of storage accounts per region in a single centralized logging subscription and direct the flow logs from any subscription in the tenant to the corresponding storage account for that region.
Storage Account Configuration
Subscription
The same subscription as the virtual network, or a subscription in the same Azure tenant
Resource Group
Any existing resource group, or create a new one (e.g. rg_neto_logging)
Storage Account Name
Any unique name (e.g. st_neto_vnetlogs_westus)
Region
The same region as the virtual network(s)
Performance Tier
Standard
Redundancy
Locally-redundant Storage (LRS)
All other settings can use Azure's default configuration. The Advanced > Security > Enable storage account key access setting must remain in its default setting,True, for Azure Network Watcher to write flow logs to the storage account and Fusion to read flow logs from the storage account.
3. Create a Flow Log for each Virtual network
You can skip this step if VNet flow logs are already enabled.
Follow these steps using the configuration settings below: Create a flow log section of the Manage VNET flow page.
Flow Log Configuration
Project details
Subscription
Select the Azure subscription of your virtual network that you want to log
Flow Log Type
Select Virtual Network then select the virtual networks
Flow Log Name
You can use the default name of{ResourceName}-{ResourceGroupName}-flowlog or enter your own
Instance details
Subscription
Select the Azure subscription of the storage account to write flow logs to
Storage Accounts
Select the storage account that you want to write flow logs to.. If you skipped step 2 above, select Create a new storage account.
Retention (days)
1
You can adjust the retention period to retain logs within the Azure storage account based on your organization's requirements.
Azure Console Steps
In the search box at the top of the portal, enter network watcher. Select Network Watcher from the search results.
Under Logs, select Flow logs.
In Network Watcher | Flow logs, select + Create or Create flow log blue button.
On the Basics tab of Create a flow log.
Select Review + create.
Review the settings, and then select Create.
For more information related to managing VNet Flow Logs in Azure, refer to Microsoft's Create, change, enable, disable, or delete virtual network flow logs using the Azure portal article.
Netography Fusion Instructions
4. Add a new Azure VNet flow source to Fusion
In the Fusion portal, click the gear icon to go to Settings, navigate to Traffic Sources, click Add Traffic Source, select Azure VNet, and fill out the form using the configuration below.
Azure VNet Flow Source Configuration
The following fields are specific to the Azure VNet configuration.
All of these field values can be located in the Azure Portal by going to Network Watcher, expanding the Logs section, selecting Flow Logs, and finding the row in the table for the flow log you are adding. The value to use is either directly visible in the table, or can be found by following the links noted in the table below.
Region
Azure region the Vnet and storage account are located in (they are always the same)
Location
Container Name
Storage account container name. Use the value insights-logs-flowlogfloweventfor all standard configurations.
Storage account > Data Storage > Containers
Subscription ID
Virtual network subscription ID
Subscription name > Overview
Resource Group
Network Watcher Resource Group name (e.g. NETWORKWATCHERRG)
Resource group
Network Watcher
Network Watcher Name (e.g. NetworkWatcher_eastus/FlogLog_vnet2)
Name - The network watcher name is in parentheses
Flow Log
Flow Log Name (eg FlowLog_vnet2)
Name - The flow log name is the value excluding what is in parentheses
Account Name
Storage Account's Access Name
Storage account
Account Key
Storage Account's Access Key to authenticate
Storage Account > Security + Networking > Access keys > Key
Last updated