v.23.1New Feature

Dictionary Source for User-Agent Parsing via Regular Expressions Tree

Dictionary source for extracting keys by traversing regular expressions tree. It can be used for User-Agent parsing. #40878 (Vage Ogannisian). #43858 (Han Fei).
Introduces a new dictionary source that extracts keys by traversing a regular expressions tree, enabling advanced data extraction such as User-Agent parsing.

Why it matters

This feature addresses the need for sophisticated pattern matching and key extraction from complex strings, such as User-Agent headers, by leveraging a structured traversal of regular expressions trees. It simplifies and optimizes parsing tasks that would otherwise require external processing or complex queries.

How to use it

Users can configure this dictionary source by specifying the regular expressions tree used for traversal in the dictionary configuration file. Once set up, the dictionary can be queried to extract desired keys directly from input data based on regex tree matching.