Hello,
Reading this powershell description of Maximum size it appears to be 4GB.
Limit-EventLog (Microsoft.PowerShell.Management) - PowerShell | Microsoft Learn
Darrell
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm currently working to expand the size for some log files on Windows Server, is there an updated table like this one "Event Log | Microsoft Learn" for current Windows Servers (2016,2022)?
My goal is to find the maximum size I can configure the files. I couldn't find any official Microsoft documentation saying if there is a limitation.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
Hello,
Reading this powershell description of Maximum size it appears to be 4GB.
Limit-EventLog (Microsoft.PowerShell.Management) - PowerShell | Microsoft Learn
Darrell
Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to the max Log size for Event Viewer log files.
The maximum log file size setting - its value is usually set to 4194240 KB (4GB). The value between 1024 (1 MB) and 4194240 (4Gb). It also must be a multiple of 64KB.
Here is a reference link:
Have a nice day.
Best Regards,
Molly
Isn't this the limitation for Windows Server 2008?
And Regarding the "Limit-EventLog", I notice it belongs to the Classic Event Viewer, the same documentation recommends to use now "Get-WinEvent".
Isn't this the limitation for Windows Server 2008?
Reading more carefully, this same documentation, it states "This policy setting specifies the maximum sizes of the log files. An individual setting may be specified for each of the Application, Security, Setup, and System event log channels. The user interfaces (UIs) of both the Local Group Policy Editor and the Microsoft Management Console (MMC) Event Viewer snap-in allow you to enter values as large as 2 terabytes."
Searching on the internet, a lot of people use more than 4GB, I have also used, but what is the current recommendation?
Hello,
Seems there is no later official document released about maximum Event log file size, that document may only be a reference. Maybe newer windows version will have larger space for maximum Event log file size.
Best regards,
Molly