I need to set the retention for one of the logs in the Applications and Services Logs section of Event Viewer for ALL my servers. This means I need to do it via a preferences registry setting in group policy.
When I made the retention setting for the Windows logs, I was able to add a Value named Retention in the key for the log, for example: HKLM\System\CurrentControlSet\Services\EventLog\Application --> Retention = 0 (REG_DWORD). (Yes, I know I could have done this through Administrative Tools, I chose to do it through the registry.)
I know the location of the Applications and Services Logs in the registry: HKLM\Software\Microsoft\Windows\CurrentVersion\WINEVT\Channels --> <name of the log>. What I am trying to find out is the name of the value to add. Will "Retention" work here, as it does for the Windows logs? Or is there a different Value for these logs? Any help will be much appreciated.