Enable log monitoring in a Windows environment
To enable monitoring logs in a Windows environment, select the relevant policy and assign specific check parameters to the policy. When log monitoring is enabled and a specified string is discovered in the log being monitored, the system creates an event.
Before you begin
Role required: agent_client_collector_admin
Procedure
-
Navigate to All > Agent Client Collector > Policies.
-
Select the Windows log monitoring policy.
-
On the Check Instances tab, select os.windows.check-log to enable monitoring Windows log files.
-
On the Check Parameters tab, specify the log parameters to be monitored by the check, as described in the following table:
|
Name |
Value |
|---|---|
|
warning |
Number of times the specified pattern strings are found in the log which generates a warning event. Default = 1.For example, if the pattern value is Exception and one Exception event is located in the log, a warning event is generated. |
|
critical |
Number of times the specified pattern strings are found in the log which generates a critical event. Default = 2.For example, if the pattern value is Exception and two Exception events are located in the log, a critical event is generated. |
|
file |
Location of the log file. |
|
pattern |
Strings which are being searched for in the log. Default values are Severe and Exception. Other possible values include 404 and Error.Ensure that you separate multiple patterns with a pipe (|) and pass it as a parameter inside quotes. For example: |
--- title: Enable log monitoring in a Windows environment description: To enable monitoring logs in a Windows environment, select the relevant policy and assign specific check parameters to the policy. When log monitoring is enabled and a specified string is discovered in the log being monitored, the system creates an event. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/agent-client-collector/acc-enable-log-monitoring-windows.html release: australia product: Agent Client Collector classification: agent-client-collector topic_type: task last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [ACC deployment - servers, Configuring Agent Client Collector, Agent Client Collector, IT Operations Management] --- # Enable log monitoring in a Windows environment To enable monitoring logs in a Windows environment, select the relevant policy and assign specific check parameters to the policy. When log monitoring is enabled and a specified string is discovered in the log being monitored, the system creates an event. ## Before you begin Role required: agent\_client\_collector\_admin ## Procedure 1. Navigate to **All** > **Agent Client Collector** > **Policies**. 2. Select the **Windows log monitoring** policy. 3. On the **Check Instances** tab, select **os.windows.check-log** to enable monitoring Windows log files. 4. On the **Check Parameters** tab, specify the log parameters to be monitored by the check, as described in the following table: <table id="table_qp2_vht_44b"><thead><tr><th> Name </th><th> Value </th></tr></thead><tbody><tr><td> warning </td><td> Number of times the specified pattern strings are found in the log which generates a **warning** event. Default = 1.For example, if the **pattern** value is **Exception** and one Exception event is located in the log, a **warning** event is generated. </td></tr><tr><td> critical </td><td> Number of times the specified pattern strings are found in the log which generates a **critical** event. Default = 2.For example, if the **pattern** value is **Exception** and two Exception events are located in the log, a **critical** event is generated. </td></tr><tr><td> file </td><td> Location of the log file. </td></tr><tr><td> pattern </td><td> Strings which are being searched for in the log. Default values are **Severe** and **Exception**. Other possible values include **404** and **Error**.Ensure that you separate multiple patterns with a pipe \(\|\) and pass it as a parameter inside quotes. For example: `"SEVERE|404"`. </td></tr></tbody> </table> **Parent Topic:**[Deploying Agent Client Collector on servers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/acc-server-deployment.md)
| title | Enable log monitoring in a Windows environment |
| description | To enable monitoring logs in a Windows environment, select the relevant policy and assign specific check parameters to the policy. When log monitoring is enabled and a specified string is discovered in the log being monitored, the system creates an event. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/it-operations-management/agent-client-collector/acc-enable-log-monitoring-windows.html |
| release | australia |
| product | Agent Client Collector |
| classification | agent-client-collector |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | ACC deployment - serversConfiguring Agent Client CollectorAgent Client CollectorIT Operations Management |