logstash-filter-mutate
logstash-filter-mutate copied to clipboard
Elaborate on backslash escaping in gsub.
In our experiments with the gsub mutate filter it turned out that the documentation is a little bit misleading with respect to backslashes: escaping any backslash would deprive some regular expressions of their magic. Apart from that, an example that illustrates backreferences might help some users.
Please review this pull request and decide if you are willing to accept it.