Skip to content

Azure Firewall

Collect Azure Firewall monitoring data.

Configuration

Install Func

Enable Guance Integration - Extensions - Managed Func. All prerequisites are installed automatically; continue with script installation.

For a self-hosted Func deployment, see Deploy Func yourself.

The GSE edition is recommended

Install the script

Tip: Prepare the required Azure app registration information, and assign the subscription's Monitoring Reader role to the app registration.

To synchronize Azure Firewall monitoring data, install the collection script: “Guance Integration (Azure-Firewall Collection)” (ID: integration_azure_firewall).

Click Install, then enter the following parameters:

  • Azure Tenant ID: Tenant ID
  • Azure Client ID: App registration Client ID
  • Azure Client Secret Value: Client secret value; use the value rather than the ID
  • Subscriptions: Subscription IDs, separated by ,

Click Deploy Startup Script. The system automatically creates the Startup script set and configures the corresponding startup script.

Once enabled, the automatic trigger appears under Management / Automatic Trigger Configuration. Click Execute to run it immediately without waiting for the scheduled time. After a short wait, review the task records and logs.

Verification

  1. Under Management / Automatic Trigger Configuration, confirm that the task has an automatic trigger, and inspect its records and logs for errors.
  2. In Guance, check Infrastructure - Resource Catalog for asset information.
  3. In Guance, check Metrics for the corresponding monitoring data.

Metrics

After configuring Azure Firewall monitoring, the default measurement is listed below. You can configure collection of additional metrics.

Measurement: azure_network_azurefirewalls.

MetricName MetricDescribe Dimensions Unit
firewall_health_average Overall firewall health. subscription_name, resource_group, resource_name, resource_id, location, status, reason percent
firewall_latency_png_average Average firewall latency measured by platform probes. subscription_name, resource_group, resource_name, resource_id, location ms
snatport_utilization_average Outbound SNAT port utilization. subscription_name, resource_group, resource_name, resource_id, location, protocol percent
observed_capacity_average Observed capacity units reported by the firewall. subscription_name, resource_group, resource_name, resource_id, location -
throughput_average Average throughput of traffic processed by the firewall. subscription_name, resource_group, resource_name, resource_id, location bit/s
data_processed_total Data volume processed by the firewall in one sampling interval. subscription_name, resource_group, resource_name, resource_id, location B
application_rule_hit_total Application rule hit count in one sampling interval. subscription_name, resource_group, resource_name, resource_id, location, status, reason, protocol count
network_rule_hit_total Network rule hit count in one sampling interval. subscription_name, resource_group, resource_name, resource_id, location, status, reason count

Objects

{
  "measurement": "azure_network_azurefirewalls",
  "tags": {
    "cloud_provider": "azure",
    "subscription_name": "Example Subscription",
    "subscription_id": "00000000-0000-0000-0000-000000000000",
    "location": "westus2",
    "resource_group": "example-resource-group",
    "resource_name": "example-firewall",
    "resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-resource-group/providers/microsoft.network/azurefirewalls/example-firewall"
  },
  "fields": {
    "provisioning_state": "Succeeded",
    "threat_intel_mode": "Alert",
    "sku": "{\"name\": \"AZFW_VNet\", \"tier\": \"Basic\"}",
    "firewall_policy": "{\"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resource-group/providers/Microsoft.Network/firewallPolicies/example-firewall-policy\"}"
  }
}

Note: Fields in tags and fields may change in future updates.

Feedback

Is this page helpful?