websec-normalize-path-batch
Normalize the path of each input row to a registered URL template.
Input fields are host, method and path; a row without host uses its table name (_table) as the host, as the web log schema has no host field. Adds the template, its placeholder values as param1, param2, and so on in template order, and a heuristic path_shape that groups similar paths. Templates come from the websec-path-templates behavior profile, which every node keeps in sync.
websec-normalize-path-batch [unknown=VALUE]
- unknown=VALUE
- Optional. t to output only the rows whose path matches no registered template. Default is f.
Output fields
| Field | Type | Name | Description |
|---|---|---|---|
| path_template | String | URL template | Matched template, null if none, e.g. /api/users/:user_id/orders |
| path_template_guid | String | URL template GUID | GUID of the matched template, e.g. 5b1c6e2a-8f4d-4e7b-9a31-0c2d7e9f1a44 |
| path_template_version | Long | Template version | Version of the behavior profile the templates came from, null if no template is registered, e.g. 12 |
| param1 | String | Placeholder values | Value of the first placeholder; param2, param3 and so on follow in template order, e.g. 123 |
| path_shape | String | Path shape | Path with numbers, UUIDs, hex strings, dates and opaque tokens replaced by {num}, {uuid}, {hex}, {date}, {token}, e.g. /api/users/{num}/orders |