Details
The server error logs are invaluable because they can also be used to identify potential problems and enable proactive remediation. Log data can reveal anomalous behavior such as ‘not found’ or ‘unauthorized’ errors that may be an evidence of attack attempts. Failure to enable error logging can significantly reduce the ability of Web Administrators to detect or remediate problems. The LogFormat directive defines the format and information to be included in the access log entries.
Solution
Edit the httpd.conf file and add LogFormat ‘%a %A %h %H %l %m %s %t %u %U ‘%{Referer}i’ ‘ combined
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.
References
- 800-53|AU-12
- CAT|II
- Rule-ID|SV-33203r1_rule
- STIG-ID|WA00612_A22
- Vuln-ID|V-26280