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
Copy file name to clipboardExpand all lines: articles/azure-monitor/agents/agent-windows-troubleshoot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,5 +129,5 @@ If the query returns results, you need to determine if a particular data type is
129
129
|Event ID |Source |Description |Resolution |
130
130
|---------|-------|------------|-----------|
131
131
|8000 |HealthService |This event will specify if a workflow related to performance, event, or other data type collected is unable to forward to the service for ingestion to the workspace. | Event ID 2136 from source HealthService is written together with this event and can indicate the agent is unable to communicate with the service. Possible reasons might be misconfiguration of the proxy and authentication settings, network outage, or the network firewall or proxy doesn't allow TCP traffic from the computer to the service.|
132
-
|10102 and 10103 |Health Service Modules |Workflow couldn't resolve the data source. |This issue can occur if the specified performance counter or instance doesn't exist on the computer or is incorrectly defined in the workspace data settings. If this is a user-specified [performance counter](data-sources-performance-counters.md#configuring-performance-counters), verify the information specified follows the correct format and exists on the target computers. |
132
+
|10102 and 10103 |Health Service Modules |Workflow couldn't resolve the data source. |This issue can occur if the specified performance counter or instance doesn't exist on the computer or is incorrectly defined in the workspace data settings. If this is a user-specified [performance counter](data-sources-performance-counters.md#configure-performance-counters), verify the information specified follows the correct format and exists on the target computers. |
133
133
|26002 |Health Service Modules |Workflow couldn't resolve the data source. |This issue can occur if the specified Windows event log doesn't exist on the computer. This error can be safely ignored if the computer isn't expected to have this event log registered. Otherwise, if this is a user-specified [event log](data-sources-windows-events.md#configure-windows-event-logs), verify the information specified is correct. |
Copy file name to clipboardExpand all lines: articles/azure-monitor/agents/data-sources-iis-logs.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,57 +1,57 @@
1
1
---
2
-
title: Collect IIS logs with Log Analytics agent in Azure Monitor
3
-
description: Internet Information Services (IIS) stores user activity in log files that can be collected by Azure Monitor. This article describes how to configure collection of IIS logs and details of the records they create in Azure Monitor.
2
+
title: Collect IIS logs with the Log Analytics agent in Azure Monitor
3
+
description: This article describes how to configure collection of IIS log files that store user activity and the details of the records they create in Azure Monitor.
4
4
ms.topic: conceptual
5
5
ms.date: 03/31/2022
6
6
ms.reviewer: JeffWo
7
7
8
8
---
9
9
10
-
# Collect IIS logs with Log Analytics agent in Azure Monitor
10
+
# Collect IIS logs with the Log Analytics agent in Azure Monitor
11
11
Internet Information Services (IIS) stores user activity in log files that can be collected by the Log Analytics agent and stored in [Azure Monitor Logs](../data-platform.md).

14
14
15
15
> [!IMPORTANT]
16
-
> This article covers collecting IIS logs with the [Log Analytics agent](./log-analytics-agent.md), which **will be deprecated by August 2024**. Please be sure to [migrate to Azure Monitor agent](./azure-monitor-agent-manage.md) before August 2024 to continue ingesting data. See [Collect text logs with Azure Monitor agent (preview)](../agents/data-collection-text-log.md) for details on collecting IIS logs with [Azure Monitor agent](azure-monitor-agent-overview.md).
16
+
> This article covers collecting IIS logs with the [Log Analytics agent](./log-analytics-agent.md), which **will be deprecated by August 2024**. Be sure to [migrate to Azure Monitor Agent](./azure-monitor-agent-manage.md) before August 2024 to continue ingesting data. See [Collect text logs with Azure Monitor Agent (preview)](../agents/data-collection-text-log.md) for details on collecting IIS logs with [Azure Monitor Agent](azure-monitor-agent-overview.md).
17
17
18
-
19
-
## Configuring IIS logs
18
+
## Configure IIS logs
20
19
Azure Monitor collects entries from log files created by IIS, so you must [configure IIS for logging](/previous-versions/orphan-topics/ws.11/hh831775(v=ws.11)).
21
20
22
-
Azure Monitor only supports IIS log files stored in W3C format and does not support custom fields or IIS Advanced Logging. It does not collect logs in NCSA or IIS native format.
23
-
24
-
Configure IIS logs in Azure Monitor from the [Agent configuration menu](../agents/agent-data-sources.md#configure-data-sources) for the Log Analytics agent. There is no configuration required other than selecting **Collect W3C format IIS log files**.
21
+
Azure Monitor only supports IIS log files stored in W3C format and doesn't support custom fields or IIS Advanced Logging. It doesn't collect logs in NCSA or IIS native format.
25
22
23
+
Configure IIS logs in Azure Monitor from the [Agent configuration menu](../agents/agent-data-sources.md#configure-data-sources) for the Log Analytics agent. No configuration is required other than selecting **Collect W3C format IIS log files**.
26
24
27
25
## Data collection
28
-
Azure Monitor collects IIS log entries from each agent each time the log timestamp changes. The log is read every **5 minutes**. If for any reason IIS doesn't update the timestamp before the rollover time when a new file is created, entries will be collected following creation of the new file. The frequency of new file creation is controlled by the **Log File Rollover Schedule** setting for the IIS site, which is once a day by default. If the setting is **Hourly**, Azure Monitor collects the log each hour. If the setting is **Daily**, Azure Monitor collects the log every 24 hours.
26
+
Azure Monitor collects IIS log entries from each agent each time the log timestamp changes. The log is read every 5 minutes. If for any reason IIS doesn't update the timestamp before the rollover time when a new file is created, entries will be collected following creation of the new file.
27
+
28
+
The frequency of new file creation is controlled by the **Log File Rollover Schedule** setting for the IIS site. The setting is once a day by default. If the setting is **Hourly**, Azure Monitor collects the log each hour. If the setting is **Daily**, Azure Monitor collects the log every 24 hours.
29
29
30
30
> [!IMPORTANT]
31
-
> It is recommended to set the **Log File Rollover Schedule** to **Hourly**. If it's set to **Daily**, you may experience spikes in your data since it will only be collected once per day.
31
+
> We recommend that you set **Log File Rollover Schedule** to **Hourly**. If it's set to **Daily**, you might experience spikes in your data because it will be collected only once per day.
32
32
33
33
## IIS log record properties
34
-
IIS log records have a type of **W3CIISLog** and have the properties in the following table:
34
+
IIS log records have a type of **W3CIISLog** and have the properties shown in the following table:
35
35
36
36
| Property | Description |
37
37
|:--- |:--- |
38
38
| Computer |Name of the computer that the event was collected from. |
39
39
| cIP |IP address of the client. |
40
-
| csMethod |Method of the request such as GET or POST. |
40
+
| csMethod |Method of the request, such as GET or POST. |
41
41
| csReferer |Site that the user followed a link from to the current site. |
42
42
| csUserAgent |Browser type of the client. |
43
43
| csUserName |Name of the authenticated user that accessed the server. Anonymous users are indicated by a hyphen. |
44
-
| csUriStem |Target of the request such as a web page. |
44
+
| csUriStem |Target of the request, such as a webpage. |
45
45
| csUriQuery |Query, if any, that the client was trying to perform. |
46
-
| ManagementGroupName |Name of the management group for Operations Manager agents. For other agents, this is AOI-\<workspace ID\>|
46
+
| ManagementGroupName |Name of the management group for Operations Manager agents. For other agents, this name is AOI-\<workspace ID\>.|
47
47
| RemoteIPCountry |Country/region of the IP address of the client. |
48
48
| RemoteIPLatitude |Latitude of the client IP address. |
49
49
| RemoteIPLongitude |Longitude of the client IP address. |
50
50
| scStatus |HTTP status code. |
51
51
| scSubStatus |Substatus error code. |
52
52
| scWin32Status |Windows status code. |
53
53
| sIP |IP address of the web server. |
54
-
| SourceSystem |OpsMgr |
54
+
| SourceSystem |OpsMgr.|
55
55
| sPort |Port on the server the client connected to. |
56
56
| sSiteName |Name of the IIS site. |
57
57
| TimeGenerated |Date and time the entry was logged. |
@@ -60,7 +60,7 @@ IIS log records have a type of **W3CIISLog** and have the properties in the foll
60
60
| csBytes | Number of bytes that the server received. |
61
61
62
62
## Log queries with IIS logs
63
-
The following table provides different examples of log queries that retrieve IIS log records.
63
+
Different examples of log queries that retrieve IIS log records are shown in the following table:
0 commit comments