Skip to content

Commit a630af9

Browse files
committed
freshness
1 parent aa6dbba commit a630af9

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

articles/network-watcher/network-watcher-alert-triggered-packet-capture.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Use packet capture to do proactive network monitoring with alerts - Azure Functions
2+
title: Use packet capture to proactively monitor you network
33
description: Learn how to create an alert-triggered packet capture by using Azure Network Watcher and Azure Functions.
44
author: halkazwini
55
ms.author: halkazwini
66
ms.service: azure-network-watcher
77
ms.topic: how-to
8-
ms.date: 02/14/2024
8+
ms.date: 03/25/2025
99
ms.custom: devx-track-azurepowershell
1010
---
1111

12-
# Monitor networks proactively with alerts and Azure Functions by using packet capture
12+
# Monitor networks proactively with alerts and Azure Functions using packet capture
1313

1414
The packet capture feature of Azure Network Watcher creates capture sessions to track traffic in and out of virtual machines (VMs). The capture file can have a filter that you define to track only the traffic that you want to monitor. This data is stored in a storage blob or locally on the guest machine.
1515

@@ -35,7 +35,7 @@ This scenario assumes that you have an existing instance of Network Watcher and
3535

3636
Here's the workflow for packet capture:
3737

38-
1. An incident triggers an alert on your VM.
38+
1. An incident triggers an alert on your virtual machine (VM).
3939
1. The alert calls your Azure function.
4040
1. Your Azure function processes the alert and starts a Network Watcher packet capture session.
4141
1. The packet capture runs on the VM and collects data.
@@ -58,7 +58,7 @@ To create an Azure function to process the alert and create a packet capture, yo
5858

5959
1. Select **+ Create**.
6060

61-
1. On the **Basics** tab of **Create Function App**, enter or select values for the following settings:
61+
1. On the **Basics** tab of **Create Function App**, enter, or select values for the following settings:
6262

6363
- Under **Project Details**, select the subscription for which you want to create the function app and the resource group to contain the app.
6464
- Under **Instance Details**:
@@ -307,7 +307,7 @@ if ($requestBody.context.resourceType -eq "Microsoft.Compute/virtualMachines") {
307307
}
308308
```
309309

310-
## Configure an alert on a VM
310+
## Configure an alert on a virtual machine
311311

312312
You can configure alerts to notify individuals when a specific metric crosses a threshold that you assigned to it. In this example, the alert is on the **Network Out Total** metric that's sent, but you can trigger the alert for many other metrics.
313313

@@ -344,8 +344,9 @@ If the capture file is stored locally, you can get it by signing in to the virtu
344344

345345
For instructions on downloading files from Azure storage accounts, see the [quickstart for the Azure Blob Storage client library for .NET](../storage/blobs/storage-quickstart-blobs-dotnet.md). You can also use the [Azure Storage Explorer](https://storageexplorer.com/) tool.
346346

347-
After you download your capture, you can view it by using tools like [Wireshark](https://www.wireshark.org/) that can read a *.cap* file.
347+
After you download your capture, you can view it using tools like [Wireshark](https://www.wireshark.org/) that can read a *.cap* file.
348348

349349
## Next step
350350

351-
Learn how to view your packet captures by reading [Inspect and analyze Network Watcher packet capture files](network-watcher-deep-packet-inspection.md).
351+
> [!div class="nextstepaction"]
352+
> [Inspect and analyze Network Watcher packet capture files](network-watcher-deep-packet-inspection.md)

0 commit comments

Comments
 (0)