/ May 13th, 2020 /

RegexSet support to `regex` transform

Efficiently run multiple regexes in the same transform!

Contributor Mattias Endler (@mre) taught the regex_parser transform how to handle multiple regex'es at a time efficiently!

Get Started

Make the following changes in your vector.toml file:

In order to avoid a deprecation warning you should update any regex_parser components to use the new syntax:

vector.toml
[transforms.example]
type = "regex_parser"
- regex = "..."
+ patterns = [
+ "...",
+ # Any new regexes you might want!
+ ]

You should also review your pipelines for instances where you have a regex_parser -> [... ->] regex_parser step, you may be able to collapse these now and shave a few a nanoseconds off your events. 😉

This change was made available in 0.10.0. You can get this change by downloading the latest stable release.

Like What You See?