Skip to content

Commit eb94b37

Browse files
committed
edit pass: virtual-network-planning-configuring
1 parent c3d8dc2 commit eb94b37

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/virtual-network/virtual-network-nsg-manage-log.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can use the [Azure portal](#azure-portal), [Azure PowerShell](#azure-powersh
3434

3535
1. Sign in to the [Azure portal](https://portal.azure.com).
3636
1. In the search box at the top of the Azure portal, enter **network security groups**. Select **Network security groups** in the search results.
37-
1. Select the NSG for which to enable logging.
37+
1. Select the NSG for which you want to enable logging.
3838
1. Under **Monitoring**, select **Diagnostic settings**, and then select **Add diagnostic setting**.
3939

4040
:::image type="content" source="./media/virtual-network-nsg-manage-log/turn-on-diagnostics.png" alt-text="Screenshot that shows the diagnostic settings for an NSG with Add diagnostic setting highlighted." lightbox="./media/virtual-network-nsg-manage-log/turn-on-diagnostics.png":::
@@ -115,7 +115,7 @@ nsgId=$(az network nsg show \
115115
--output tsv)
116116
```
117117

118-
You can write resource logs to different destination types. For more information, see [Log destinations](#log-destinations). In this article, logs are sent to a *Log Analytics workspace* destination, as an example. For more information, see [Log categories](#log-categories).
118+
You can write resource logs to different destination types. For more information, see [Log destinations](#log-destinations). In this article, logs are sent to a Log Analytics workspace destination, as an example. For more information, see [Log categories](#log-categories).
119119

120120
Enable resource logging for the NSG with [az monitor diagnostic-settings create](/cli/azure/monitor/diagnostic-settings#az-monitor-diagnostic-settings-create). The following example logs both event and counter category data to an existing workspace named `myWorkspace`, which exists in a resource group named `myWorkspaces`. It uses the ID of the NSG that you saved by using the previous command.
121121

@@ -149,7 +149,7 @@ JSON-formatted data is written for the following log categories: event and rule
149149

150150
### Event
151151

152-
The event log contains information about which NSG rules are applied to virtual machines, based on a MAC address. The following data is logged for each event. In the following example, the data is logged for a virtual machine with the IP address 192.168.1.4 and a MAC address of 00-0D-3A-92-6A-7C:
152+
The event log contains information about which NSG rules are applied to virtual machines, based on a MAC address. The following data is logged for each event. In the following example, the data is logged for a virtual machine with the IP address 192.168.1.4 and a MAC address of 00-0D-3A-92-6A-7C.
153153

154154
```json
155155
{
@@ -180,7 +180,7 @@ The event log contains information about which NSG rules are applied to virtual
180180

181181
### Rule counter
182182

183-
The rule counter log contains information about each rule applied to resources. The following example data is logged each time a rule is applied. In the following example, the data is logged for a virtual machine with the IP address 192.168.1.4 and a MAC address of 00-0D-3A-92-6A-7C:
183+
The rule counter log contains information about each rule applied to resources. The following example data is logged each time a rule is applied. In the following example, the data is logged for a virtual machine with the IP address 192.168.1.4 and a MAC address of 00-0D-3A-92-6A-7C.
184184

185185
```json
186186
{

articles/virtual-network/virtual-networks-viewing-and-modifying-hostnames.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ procedureSection:
5959
```
6060
6161
For more information on GET requests for VMs, see
62-
[Virtual Machines - GET](/rest/api/compute/virtual-machines/get).
62+
[Virtual machines - GET](/rest/api/compute/virtual-machines/get).
6363
- |
6464
Look for the `osProfile` and then the `computerName` element to find the host name.
6565

0 commit comments

Comments
 (0)