question

RaffaeleP-8564 avatar image
0 Votes"
RaffaeleP-8564 asked JennyFeng-MSFT answered

Event Log Settings Maximum log size (KB) - Windows server 2019

Hello
i need to know wich is the maximum (and Recommended) log size than i can configure on windows server 2019.
I found only this article :

https://docs.microsoft.com/it-IT/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd349798(v=ws.10)

But no article about windows server 2019


windows-server-2019
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered

@RaffaeleP-8564
Hi,
As you said, the maximum log file size setting - its value is usually set to 4194240 KB.
According to the official site, the value between 1024 (1 MB) and 4194240 (4Gb). It also must be a multiple of 64KB.
For this value, currently there is no update information for Windows server 2019.
Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeonLaude avatar image
0 Votes"
LeonLaude answered LeonLaude commented

Hi @RaffaeleP-8564,

The maximum log size for Windows Server 2008 is 4194240 KB (4 GB) due to the 32-Bit limitation of the operating system.
On 64-Bit operating systems it can go much higher, in theory up to 17179874884 KB (16 TB) as that is the file system (NTFS) limitation.

The recommended log size is entirely up to your own needs/requirements.


If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!


Best regards,
Leon

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

THank you for answer,
according to :

https://docs.microsoft.com/it-IT/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd349798(v=ws.10)

even on 2008 R2 64 bit the Recommended maximum size for each log is 4GB and Recommended maximum total size for all logs is 16 GB.
I don't know if this value are correct for server 2019 or i can increase it.
But i did not find any reference about server 2019

0 Votes 0 ·

You can go beyond that, but the larger the file is the more difficult it will be for the OS to open and write to it and more prone to corruption. It would also be difficult to open for viewing, etc.

So I would still use the recommendations on that link.

You can also change the maximum size with Group Policy:

109392-event-log-gpo.png


1 Vote 1 ·
event-log-gpo.png (91.9 KiB)