3.3 Ensure remote logging is configured for ESXi hosts


By default, ESXI logs are stored on a local scratch volume or ramdisk. To preserve logs, also configure remote logging to a central log host for the ESXI hosts.


Remote logging to a central log host provides a secure, centralized store for ESXi logs. You can more easily monitor all hosts with a single tool. You can also do aggregate analysis and searching to look for such things as coordinated attacks on multiple hosts. Logging to a secure, centralized log server helps prevent log tampering and provides a long-term audit record.


To configure remote logging properly, perform the following from the vSphere web client:

Select the host and click 'Configure' -> 'System' -> 'Advanced System Settings'.

Enter Syslog.global.logHost in the filter.

Make sure Syslog.global.logHost is highlighted, then click the pencil icon.

Set Syslog.global.logHost to the hostname or IP address of the central log server.

Click 'OK'.

Alternately, run the following PowerCLI command:

# Set Syslog.global.logHost for each host
Get-VMHost | Foreach { Set-<span>AdvancedSetting </span><span>-VMHost $_ -Name Syslog.global.logHost -Value '<NewLocation>' }</span>

Note: When setting a remote log host, it is also recommended to set the 'Syslog.global.logDirUnique' to true. You must configure the syslog settings for each host.



See Also


Item Details


References: 800-53|AU-9(2), CSCv7|6.2, CSCv7|6.3

Plugin: VMware

Control ID: a51620f704fdc3f9ef95232dcda1f9142e9aabeded12bad319464eb4e5f7fae1