Downloaded ModSecurity log file has 1KB size and has incorrect format:

Created:

2017-04-10 18:38:05 UTC

Modified:

2017-08-08 13:45:07 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Downloaded ModSecurity log file has 1KB size and has incorrect format:

Applicable to:

  • Plesk Onyx for Linux

Symptoms

Attempt to download archived ModSecurity log file on Home > Tools & Settings > Web Application Firewall > Logs Archive page resulted in 1KB size file which has incorrect format:

# gunzip modsec_audit.log.1.gz

gzip: modsec_audit.log.1.gz: not in gzip format

Cause

This is a Plesk bug #PPPM-6061 and will be fixed in future Plesk updates

Resolution

As a workaround it is possible to inspect ModSecurity log files by clicking on  the name of the log archive or download it directly from the server. The log files location on the file system is /var/log/modsec_audit.log*

Have more questions? Submit a request
Please sign in to leave a comment.