I'm attempting to drop messages according to regular expressions and was
wondering if it can be done with pipelines.
Looking at various other sources and reading the docs I came up with
something like this:
rule "drop via regex"
when
regex("^.+SomeProc"), to_string($message.message)).matches
then
drop_message();
end
however I can't get it to work.
I could, alternatively, attempt to use a string of ` contains(...) ` though
that seems more cumbersome.
Please also let me know if I'm going about this the wrong way. I'm
attempting to use pipelines over drools since that seems to be the
direction graylog is heading.
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/c5d18bb3-bdd8-42ea-a30c-32cfe3521e9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.