SV-256475r959010_rule
V-256475
SRG-OS-000480-VMM-002000
VMCH-70-000027
CAT II
10
From the vSphere Client, select the Virtual Machine, right-click and go to Edit Settings >> VM Options tab >> Advanced >> Configuration Parameters >> Edit Configuration.
Find the "log.keepOld" value and set it to "10".
Note: The VM must be powered off to modify the advanced settings through the vSphere Client. It is recommended to configure these settings with PowerCLI as this can be done while the VM is powered on. In this case, the modified settings will not take effect until a cold boot of the VM.
or
From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the provided commands as shown below.
If the setting does not exist, run:
Get-VM "VM Name" | New-AdvancedSetting -Name log.keepOld -Value 10
If the setting exists, run:
Get-VM "VM Name" | Get-AdvancedSetting -Name log.keepOld | Set-AdvancedSetting -Value 10
From the vSphere Client, select the Virtual Machine, right-click, and go to Edit Settings >> VM Options tab >> Advanced >> Configuration Parameters >> Edit Configuration.
Find the "log.keepOld" value and verify it is set to "10".
or
From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command:
Get-VM "VM Name" | Get-AdvancedSetting -Name log.keepOld
If the virtual machine advanced setting "log.keepOld" is not set to "10", this is a finding.
If the virtual machine advanced setting "log.keepOld" does not exist, this is not a finding.
V-256475
False
VMCH-70-000027
From the vSphere Client, select the Virtual Machine, right-click, and go to Edit Settings >> VM Options tab >> Advanced >> Configuration Parameters >> Edit Configuration.
Find the "log.keepOld" value and verify it is set to "10".
or
From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command:
Get-VM "VM Name" | Get-AdvancedSetting -Name log.keepOld
If the virtual machine advanced setting "log.keepOld" is not set to "10", this is a finding.
If the virtual machine advanced setting "log.keepOld" does not exist, this is not a finding.
M
5519