Scalar FunctionsLogging Functions
extract_log_template
Normalizes a string into a structural template by replacing variable tokens (numbers, UUIDs, IPs, hex values, quoted strings) with typed placeholders. Useful for grouping log messages by structure.
Syntax
extract_log_template(source)Parameters
Prop
Type
Returns: string
Examples
Example 1
print extract_log_template("Warrior ragnar42 embarked from 10.0.0.1 to Lindisfarne")| print_0 (string) |
|---|
| Warrior ragnar<N> embarked from <IP> to Lindisfarne |