Which is the current Max Log size for Event Viewer log files.

Anonymous
2024-09-27T13:37:40+00:00

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.

Windows Server | Devices and deployment | System management components

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.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-27T21:26:56+00:00

    Hello,

    Reading this powershell description of Maximum size it appears to be 4GB.

    Limit-EventLog (Microsoft.PowerShell.Management) - PowerShell | Microsoft Learn

    Darrell

    0 comments No comments
  2. Anonymous
    2024-09-30T05:56:30+00:00

    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:

    Event Log | Microsoft Learn

    Have a nice day. 

    Best Regards,

    Molly

    0 comments No comments
  3. Anonymous
    2024-10-01T18:41:35+00:00

    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".

    0 comments No comments
  4. Anonymous
    2024-10-01T18:51:36+00:00

    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?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-10-08T01:06:43+00:00

    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

    0 comments No comments