Page History
...
Rules include to specify regular expressions to search for and related placeholders as replacements. The built-in rules cover typical configuration items such as URLs, IP addresses, Host names etc.
- Users can export the built-in rules to a file in to verify what available rules and expressions are applied.
- Users can add individual rules to a file that is used when invoking the Log Anonymizer Script.
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