Web Security

Download 0
Last updated Nov 23, 2026

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

FieldTypeNameDescription
path_templateStringURL templateMatched template, null if none, e.g. /api/users/:user_id/orders
path_template_guidStringURL template GUIDGUID of the matched template, e.g. 5b1c6e2a-8f4d-4e7b-9a31-0c2d7e9f1a44
path_template_versionLongTemplate versionVersion of the behavior profile the templates came from, null if no template is registered, e.g. 12
param1StringPlaceholder valuesValue of the first placeholder; param2, param3 and so on follow in template order, e.g. 123
path_shapeStringPath shapePath with numbers, UUIDs, hex strings, dates and opaque tokens replaced by {num}, {uuid}, {hex}, {date}, {token}, e.g. /api/users/{num}/orders