Azure Virtual Networks (NSG Flow)

Samurai [Local] CollectorSamurai [Cloud] Collector
Picture1.svg

This guide describes the steps required to configure a Network Security Group to send flow diagnostic logs to a Storage account for ingestion to Samurai via a cloud collector.

Prerequisites

Ensure that a cloud collector has been deployed via the Samurai MDR portal. 

Take note of the name of the storage account created and which subscription it resides in. This will be used later when setting up the telemetry sources.

If you are planning to reuse an already deployed cloud collector, the information about the created storage account and subscription can be found via:

  1. Navigate to the Samurai MDR portal.
  2. On the left navigation pane, click Telemetry and select Collectors.
  3. Click on the name of the desired collector.
  4. Note down information about the:
    1. Subscription
    2. Storage account name

Alternatively, you can utilize the integration setup wizard via the Samurai MDR portal for the desired telemetry source listed on Product Integration Guide page which shall provide you the same information required to setup your telemetry source.

Enabling NSG flow logs

Follow the vendor documentation guide to enable NSG flow logs.

When following the vendor documentation, please perform the following adjustments:

  • Ensure when configuring the Storage Account setting that it’s referencing the storage account that was setup during the creation of the cloud collector.
  • Ensure that version 2 for the Flow Logs Version is configured. This should be the default value when configuring via the Azure Portal.
  • Ensure the retention period aligns with your storage policies however we recommend at minimum 7 days.

Our Integration guide was accurate at the time of writing but vendors change things frequently! If you find errors or anything is outdated, let us know by raising a request in the Samurai MDR application and we shall get it updated.