Page History
...
- Users can export the built-in rules to a file to verify available rules and expressions.
- Users can add individual rules to a file that is used when invoking the Log Anonymizer Script. It is recommended to validate individual files to be YAML compliant.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
rules: - item: url-component search: ://(.*):(\d{2,5}) replace: - <host> - <port> - item: ip-address search: (([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])) replace: - <ip-address> - item: host-install search: host[\s]*=[\s]*(.*) replace: - <host> |
...
Overview
Content Tools