kb: bug
DoNotDelete:docref
kb: fixed
Plesk for Linux
ABT: Group A
Applicable to:
- Plesk for Linux
Question
How to anonymize IP addresses in log files in Plesk?
Answer
To anonymize IP addresses in log files, Login to Plesk and go to Tools & Settings > Server Settings > Anonymize IPs during log rotation.
Read more about this feature in Plesk Administrator Guide.
The feature nulls up the last octet of IPv4 and the last group of IPv6 addresses during rotation of the following logs:
/var/log/httpd/*
/var/log/nginx/*
/var/log/maillog
/var/www/vhosts/*/logs/*
The anonymization works for rotated logs only. Therefore, logs of services like Fail2ban that work only with active logs are not anonymized.
Note: The CLI utility to manage IP anonymization is yet to be implemented:
https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/43821561-manage-the-anonymize-ip-addresses-during-log-rota
Comments
0 comments
Please sign in to leave a comment.