You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 22: On Prem > on-premises
Line 35: Azure Portal > Azure portal
Line 63: were > where
Lines 100, 124, 129, 133: I I S > IIS (screen readers no longer need the spacing)
-[Permissions to create Data Collection Rule objects](../essentials/data-collection-rule-overview.md#permissions) in the workspace.
22
-
- A VM, Virtual Machine Scale Set, or Arc-enabled On Prem server with IIS logs.
22
+
- A VM, Virtual Machine Scale Set, or Arc-enabled on-premises server with IIS logs.
23
23
24
24
- The log file must be stored on a local drive of the machine on which Azure Monitor Agent is running.
25
25
- Each entry in the log file must be delineated with an end of line.
@@ -32,7 +32,7 @@ The [data collection rule](../essentials/data-collection-rule-overview.md) defin
32
32
- How Azure Monitor transforms events during ingestion.
33
33
- The destination Log Analytics workspace and table to which Azure Monitor sends the data.
34
34
35
-
To create the data collection rule in the Azure Portal:
35
+
To create the data collection rule in the Azure portal:
36
36
37
37
1. On the **Monitor** menu, select **Data Collection Rules**.
38
38
1. Select **Create** to create a new data collection rule and associations.
@@ -60,7 +60,7 @@ To create the data collection rule in the Azure Portal:
60
60
61
61
[](media/data-collection-iis/iis-data-collection-rule.png#lightbox)
62
62
63
-
1. Optionally, specify a file pattern to identify the directory were the log files are located.
63
+
1. Optionally, specify a file pattern to identify the directory where the log files are located.
64
64
1. On the **Destination** tab, add one or more destinations for the data source. You can select multiple destinations of the same or different types. For instance, you can select multiple Log Analytics workspaces, which is also known as multihoming.
65
65
66
66
[](media/data-collection-rule-azure-monitor-agent/data-collection-rule-destination.png#lightbox)
@@ -97,7 +97,7 @@ Heartbeat
97
97
### Verify that IIS logs are being created
98
98
Look at the timestamps of the log files and open the latest to see that latest timestamps are present in the log files. The default location for IIS log files is C:\\inetpub\\LogFiles\\W3SVC1.
99
99
100
-
:::image type="content" source="media/data-collection-text-log/iis-log-timestamp.png" lightbox="media/data-collection-text-log/iis-log-timestamp.png" alt-text="Screenshot of I I S log on agent machine showing the timestamp.":::
100
+
:::image type="content" source="media/data-collection-text-log/iis-log-timestamp.png" lightbox="media/data-collection-text-log/iis-log-timestamp.png" alt-text="Screenshot of IIS log on agent machine showing the timestamp.":::
101
101
102
102
### Verify that you specified the correct log location in the data collection rule
103
103
The data collection rule will have a section similar to the following. The `logDirectories` element specifies the path to the log file to collect from the agent computer. Check the agent computer to verify that this is correct.
@@ -121,16 +121,16 @@ The data collection rule will have a section similar to the following. The `logD
121
121
122
122
This directory should correspond to the location of the IIS logs on the agent machine.
123
123
124
-
:::image type="content" source="media/data-collection-text-log/iis-log-files.png" lightbox="media/data-collection-text-log/iis-log-files.png" alt-text="Screenshot of I I S log files on agent machine.":::
124
+
:::image type="content" source="media/data-collection-text-log/iis-log-files.png" lightbox="media/data-collection-text-log/iis-log-files.png" alt-text="Screenshot of IIS log files on agent machine.":::
125
125
126
126
### Verify that the IIS logs are W3C formatted
127
127
Open IIS Manager and verify that the logs are being written in W3C format.
128
128
129
-
:::image type="content" source="media/data-collection-text-log/iis-log-format-setting.png" lightbox="media/data-collection-text-log/iis-log-format-setting.png" alt-text="Screenshot of I I S logging configuration dialog box on agent machine.":::
129
+
:::image type="content" source="media/data-collection-text-log/iis-log-format-setting.png" lightbox="media/data-collection-text-log/iis-log-format-setting.png" alt-text="Screenshot of IIS logging configuration dialog box on agent machine.":::
130
130
131
131
Open IIS log on the agent machine to verify logs are in W3C format.
132
132
133
-
:::image type="content" source="media/data-collection-text-log/iis-log-format.png" lightbox="media/data-collection-text-log/iis-log-format.png" alt-text="Screenshot of I I S log on agent machine showing the header specifies W3C format.":::
133
+
:::image type="content" source="media/data-collection-text-log/iis-log-format.png" lightbox="media/data-collection-text-log/iis-log-format.png" alt-text="Screenshot of IIS log on agent machine showing the header specifies W3C format.":::
134
134
135
135
### Share logs with Microsoft
136
136
If everything is configured properly, but you're still not collecting log data, use the following procedure to collect diagnostics logs for Azure Monitor agent to share with the Azure Monitor group.
0 commit comments