Rsyslog must be configured to monitor and ship Performance Charts log files.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256640 | SRG-APP-000358-WSR-000163 | VCPF-70-000030 | SV-256640r888411_rule | 2023-02-21 | 1 |
Description
Performance Charts produces several logs that must be offloaded from the originating system. This information can then be used for diagnostic purposes, forensics purposes, or other purposes relevant to ensuring the availability and integrity of the hosted application.
Satisfies: SRG-APP-000358-WSR-000163, SRG-APP-000125-WSR-000071
ℹ️ Check
At the command prompt, run the following command:
# rpm -V VMware-visl-integration|grep vmware-services-perfcharts.conf|grep "^..5......"
If the command returns any output, this is a finding.
✔️ Fix
Navigate to and open:
/etc/vmware-syslog/vmware-services-perfcharts.conf
Create the file if it does not exist.
Set the contents of the file as follows:
#stats
input(type="imfile"
File="/var/log/vmware/perfcharts/stats.log"
Tag="perfcharts-stats"
Severity="info"
Facility="local0")
#localhost_access_log
input(type="imfile"
File="/var/log/vmware/perfcharts/localhost_access_log.txt"
Tag="perfcharts-localhost_access"
Severity="info"
Facility="local0")
#vmware-perfcharts-gc.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-gc.log.*.current"
Tag="perfcharts-gc"
Severity="info"
Facility="local0")
#vmware-perfcharts-runtime.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-runtime.log.std*"
Tag="perfcharts-runtime"
Severity="info"
Facility="local0")