mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 22:07:22 +00:00
297 lines
11 KiB
Markdown
297 lines
11 KiB
Markdown
---
|
||
title: Policy CSP - EventLogService
|
||
description: Policy CSP - EventLogService
|
||
ms.author: maricia
|
||
ms.topic: article
|
||
ms.prod: w10
|
||
ms.technology: windows
|
||
author: MariciaAlforque
|
||
ms.date: 04/16/2018
|
||
---
|
||
|
||
# Policy CSP - EventLogService
|
||
|
||
|
||
|
||
<hr/>
|
||
|
||
<!--Policies-->
|
||
## EventLogService policies
|
||
|
||
<dl>
|
||
<dd>
|
||
<a href="#eventlogservice-controleventlogbehavior">EventLogService/ControlEventLogBehavior</a>
|
||
</dd>
|
||
<dd>
|
||
<a href="#eventlogservice-specifymaximumfilesizeapplicationlog">EventLogService/SpecifyMaximumFileSizeApplicationLog</a>
|
||
</dd>
|
||
<dd>
|
||
<a href="#eventlogservice-specifymaximumfilesizesecuritylog">EventLogService/SpecifyMaximumFileSizeSecurityLog</a>
|
||
</dd>
|
||
<dd>
|
||
<a href="#eventlogservice-specifymaximumfilesizesystemlog">EventLogService/SpecifyMaximumFileSizeSystemLog</a>
|
||
</dd>
|
||
</dl>
|
||
|
||
|
||
<hr/>
|
||
|
||
<!--Policy-->
|
||
<a href="" id="eventlogservice-controleventlogbehavior"></a>**EventLogService/ControlEventLogBehavior**
|
||
|
||
<!--SupportedSKUs-->
|
||
<table>
|
||
<tr>
|
||
<th>Home</th>
|
||
<th>Pro</th>
|
||
<th>Business</th>
|
||
<th>Enterprise</th>
|
||
<th>Education</th>
|
||
<th>Mobile</th>
|
||
<th>Mobile Enterprise</th>
|
||
</tr>
|
||
<tr>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<!--/SupportedSKUs-->
|
||
<!--Scope-->
|
||
[Scope](./policy-configuration-service-provider.md#policy-scope):
|
||
|
||
> [!div class = "checklist"]
|
||
> * Device
|
||
|
||
<hr/>
|
||
|
||
<!--/Scope-->
|
||
<!--Description-->
|
||
This policy setting controls Event Log behavior when the log file reaches its maximum size.
|
||
|
||
If you enable this policy setting and a log file reaches its maximum size, new events are not written to the log and are lost.
|
||
|
||
If you disable or do not configure this policy setting and a log file reaches its maximum size, new events overwrite old events.
|
||
|
||
Note: Old events may or may not be retained according to the "Backup log automatically when full" policy setting.
|
||
|
||
<!--/Description-->
|
||
> [!TIP]
|
||
> This is an ADMX-backed policy and requires a special SyncML format to enable or disable. For details, see [Understanding ADMX-backed policies](./understanding-admx-backed-policies.md).
|
||
|
||
> You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to [Enabling a policy](./understanding-admx-backed-policies.md#enabling-a-policy).
|
||
|
||
> The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see [CDATA Sections](http://www.w3.org/TR/REC-xml/#sec-cdata-sect).
|
||
|
||
<!--ADMXBacked-->
|
||
ADMX Info:
|
||
- GP English name: *Control Event Log behavior when the log file reaches its maximum size*
|
||
- GP name: *Channel_Log_Retention_1*
|
||
- GP path: *Windows Components/Event Log Service/Application*
|
||
- GP ADMX file name: *eventlog.admx*
|
||
|
||
<!--/ADMXBacked-->
|
||
<!--/Policy-->
|
||
|
||
<hr/>
|
||
|
||
<!--Policy-->
|
||
<a href="" id="eventlogservice-specifymaximumfilesizeapplicationlog"></a>**EventLogService/SpecifyMaximumFileSizeApplicationLog**
|
||
|
||
<!--SupportedSKUs-->
|
||
<table>
|
||
<tr>
|
||
<th>Home</th>
|
||
<th>Pro</th>
|
||
<th>Business</th>
|
||
<th>Enterprise</th>
|
||
<th>Education</th>
|
||
<th>Mobile</th>
|
||
<th>Mobile Enterprise</th>
|
||
</tr>
|
||
<tr>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<!--/SupportedSKUs-->
|
||
<!--Scope-->
|
||
[Scope](./policy-configuration-service-provider.md#policy-scope):
|
||
|
||
> [!div class = "checklist"]
|
||
> * Device
|
||
|
||
<hr/>
|
||
|
||
<!--/Scope-->
|
||
<!--Description-->
|
||
This policy setting specifies the maximum size of the log file in kilobytes.
|
||
|
||
If you enable this policy setting, you can configure the maximum log file size to be between 1 megabyte (1024 kilobytes) and 2 terabytes (2147483647 kilobytes) in kilobyte increments.
|
||
|
||
If you disable or do not configure this policy setting, the maximum size of the log file will be set to the locally configured value. This value can be changed by the local administrator using the Log Properties dialog and it defaults to 20 megabytes.
|
||
|
||
<!--/Description-->
|
||
> [!TIP]
|
||
> This is an ADMX-backed policy and requires a special SyncML format to enable or disable. For details, see [Understanding ADMX-backed policies](./understanding-admx-backed-policies.md).
|
||
|
||
> You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to [Enabling a policy](./understanding-admx-backed-policies.md#enabling-a-policy).
|
||
|
||
> The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see [CDATA Sections](http://www.w3.org/TR/REC-xml/#sec-cdata-sect).
|
||
|
||
<!--ADMXBacked-->
|
||
ADMX Info:
|
||
- GP English name: *Specify the maximum log file size (KB)*
|
||
- GP name: *Channel_LogMaxSize_1*
|
||
- GP path: *Windows Components/Event Log Service/Application*
|
||
- GP ADMX file name: *eventlog.admx*
|
||
|
||
<!--/ADMXBacked-->
|
||
<!--/Policy-->
|
||
|
||
<hr/>
|
||
|
||
<!--Policy-->
|
||
<a href="" id="eventlogservice-specifymaximumfilesizesecuritylog"></a>**EventLogService/SpecifyMaximumFileSizeSecurityLog**
|
||
|
||
<!--SupportedSKUs-->
|
||
<table>
|
||
<tr>
|
||
<th>Home</th>
|
||
<th>Pro</th>
|
||
<th>Business</th>
|
||
<th>Enterprise</th>
|
||
<th>Education</th>
|
||
<th>Mobile</th>
|
||
<th>Mobile Enterprise</th>
|
||
</tr>
|
||
<tr>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<!--/SupportedSKUs-->
|
||
<!--Scope-->
|
||
[Scope](./policy-configuration-service-provider.md#policy-scope):
|
||
|
||
> [!div class = "checklist"]
|
||
> * Device
|
||
|
||
<hr/>
|
||
|
||
<!--/Scope-->
|
||
<!--Description-->
|
||
This policy setting specifies the maximum size of the log file in kilobytes.
|
||
|
||
If you enable this policy setting, you can configure the maximum log file size to be between 1 megabyte (1024 kilobytes) and 2 terabytes (2147483647 kilobytes) in kilobyte increments.
|
||
|
||
If you disable or do not configure this policy setting, the maximum size of the log file will be set to the locally configured value. This value can be changed by the local administrator using the Log Properties dialog and it defaults to 20 megabytes.
|
||
|
||
<!--/Description-->
|
||
> [!TIP]
|
||
> This is an ADMX-backed policy and requires a special SyncML format to enable or disable. For details, see [Understanding ADMX-backed policies](./understanding-admx-backed-policies.md).
|
||
|
||
> You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to [Enabling a policy](./understanding-admx-backed-policies.md#enabling-a-policy).
|
||
|
||
> The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see [CDATA Sections](http://www.w3.org/TR/REC-xml/#sec-cdata-sect).
|
||
|
||
<!--ADMXBacked-->
|
||
ADMX Info:
|
||
- GP English name: *Specify the maximum log file size (KB)*
|
||
- GP name: *Channel_LogMaxSize_2*
|
||
- GP path: *Windows Components/Event Log Service/Security*
|
||
- GP ADMX file name: *eventlog.admx*
|
||
|
||
<!--/ADMXBacked-->
|
||
<!--/Policy-->
|
||
|
||
<hr/>
|
||
|
||
<!--Policy-->
|
||
<a href="" id="eventlogservice-specifymaximumfilesizesystemlog"></a>**EventLogService/SpecifyMaximumFileSizeSystemLog**
|
||
|
||
<!--SupportedSKUs-->
|
||
<table>
|
||
<tr>
|
||
<th>Home</th>
|
||
<th>Pro</th>
|
||
<th>Business</th>
|
||
<th>Enterprise</th>
|
||
<th>Education</th>
|
||
<th>Mobile</th>
|
||
<th>Mobile Enterprise</th>
|
||
</tr>
|
||
<tr>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/checkmark.png" alt="check mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
<td><img src="images/crossmark.png" alt="cross mark" /></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<!--/SupportedSKUs-->
|
||
<!--Scope-->
|
||
[Scope](./policy-configuration-service-provider.md#policy-scope):
|
||
|
||
> [!div class = "checklist"]
|
||
> * Device
|
||
|
||
<hr/>
|
||
|
||
<!--/Scope-->
|
||
<!--Description-->
|
||
This policy setting specifies the maximum size of the log file in kilobytes.
|
||
|
||
If you enable this policy setting, you can configure the maximum log file size to be between 1 megabyte (1024 kilobytes) and 2 terabytes (2147483647 kilobytes) in kilobyte increments.
|
||
|
||
If you disable or do not configure this policy setting, the maximum size of the log file will be set to the locally configured value. This value can be changed by the local administrator using the Log Properties dialog and it defaults to 20 megabytes.
|
||
|
||
<!--/Description-->
|
||
> [!TIP]
|
||
> This is an ADMX-backed policy and requires a special SyncML format to enable or disable. For details, see [Understanding ADMX-backed policies](./understanding-admx-backed-policies.md).
|
||
|
||
> You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to [Enabling a policy](./understanding-admx-backed-policies.md#enabling-a-policy).
|
||
|
||
> The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see [CDATA Sections](http://www.w3.org/TR/REC-xml/#sec-cdata-sect).
|
||
|
||
<!--ADMXBacked-->
|
||
ADMX Info:
|
||
- GP English name: *Specify the maximum log file size (KB)*
|
||
- GP name: *Channel_LogMaxSize_4*
|
||
- GP path: *Windows Components/Event Log Service/System*
|
||
- GP ADMX file name: *eventlog.admx*
|
||
|
||
<!--/ADMXBacked-->
|
||
<!--/Policy-->
|
||
<hr/>
|
||
|
||
Footnote:
|
||
|
||
- 1 - Added in Windows 10, version 1607.
|
||
- 2 - Added in Windows 10, version 1703.
|
||
- 3 - Added in Windows 10, version 1709.
|
||
- 4 - Added in Windows 10, version 1803.
|
||
|
||
<!--/Policies-->
|
||
|