Allow the usage of anonymize_ip on gzip files
Allow the usage of the Utility anonymize_ip for files that are compressed using GZIP.
The following command does not anonymize the IPs:
plesk sbin anonymizeip /var/www/vhosts/system/domain.tld/logs/accessssl_log.processed.1.gz
You need to perform the following:
gunzip /var/www/vhosts/system/domain.tld/logs/accessssllog.processed.1.gz
plesk sbin anonymizeip /var/www/vhosts/system/domain.tld/logs/accessssl_log.processed.1
This is needed in order to have it working alongside with logrotate.
This request has not received many votes despite it was merged with a similar request to accumulate more votes. Also, GDPR has been in effect for many years now, so that only very few users might still have such old log files that need to be anonymized. As this request has not become popular, we must decline it.
-
avolov commented
Please implement anonymization of already rotated (archived) domain logs:
/var/www/vhosts/system/example.comand anonymization of old webstatistic (which was calculated from these rotated log files).
Use case for the feature - IP Anonymization was not enabled in time and some old logs contain non masked IP addresses, which for GPRD compliance should be masked