Anolog anonymizes access log files.
It replaces IPv4, Ipv6 and query parameter values with random ones.
To keep the likelihood of the resulting log files, and keep them as useful as possible to test log based tools, there are constraints for the replacements:
- All strings are consistently replaced: A string is always, in the same file, replaced by the same value, which allows for example to keep the validity of visit analysis
- A replacement is always the size of the replaced
- localhost IP aren't replaced
Usage:
anolog path/to/server.access.log > anonym.log