ApacheLogAnonymizer

Crates.ioApacheLogAnonymizer
lib.rsApacheLogAnonymizer
version0.1.1
sourcesrc
created_at2020-09-22 09:13:44.290622
updated_at2020-09-22 10:22:05.640982
descriptionAnonymizes web server logs for long term storage in compliance with the GDPR.
homepagehttps://github.com/br-olf/ApacheLogAnonymizer
repositoryhttps://gitlab.urz.uni-heidelberg.de/PichlerOlaf/ApacheLogAnonymizer
max_upload_size
id291464
size27,188
Olaf Pichler (br-olf)

documentation

README

ApacheLogAnonymizer

A small Rust programm to anonymize webserver logs.

ApacheLogAnonymizer is intended to remove personal data from webserver log files in order to store them in compliance with the GDPR (german: DSGVO).

  • ApacheLogAnonymizer uses regular expressions to search for IPv4 addresses, IPv6 addresses and URLs wit GET parameters.
  • IP addresses are anonymized by tuncating the second half of all addresses.
  • GET parameters are removed and replaced with XXXXX to indicate the removal.

ApacheLogAnonymizer was only tested with apache2 access.log and error.log samples.


This program was written to the best of knowledge and ability but neither functionality nor correctness can be guaranteed.

Commit count: 0

cargo fmt