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 regexes 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:

 [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. 😉