documentation icon indicating copy to clipboard operation
documentation copied to clipboard

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

Open kmerz opened this issue 5 years ago • 0 comments

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

kmerz avatar Nov 02 '20 13:11 kmerz