11.03.2019
Anonymize logs produced by docker
During the last weekend, I made the interesting discovery, how hard it is, to anonymize logfiles, generated by docker. While there is plenty of documentation for the larger webservers (e.g. Nginx or Apache), the number of people, who try to anonymize docker logs seems to be small. Docker allows you, to configure the logging adapter that is used. By default, all logs are written into json files (adapter: json-file) and you don’t get a chance to modify them in the process.