Graylog2/documentation

Compare operator `==` and `!=` should be documented for pipeline rules

kmerz opened this issue · 0 comments

kmerz commented

Context

The use of the comparer == and != aside from the when block is not really documented.

Expected Content

Explaining that you can use the return value of == as parameter of a boolean function:
like:

route_to_stream(
  name: to_string(streamToRoute),
  remove_from_default: streamToRoute != "000000000000000000000001" // Prevent to remove a message from "All messages" if we route to "All messages"
);

Your Environment

  • Graylog Version: 4.0.0