Runs a condition resource by its name. This condition allows you to run the same configured condition resource in multiple processors, or as a branch of another condition.
# Config fields, showing default valuesresource: ""
Let's imagine we have two outputs, one of which only receives messages that satisfy a condition and the other receives the logical NOT of that same condition. In this example we can save ourselves the trouble of configuring the same condition twice by referring to it as a resource, like this:
output:broker:pattern: fan_outoutputs:- type: fooprocessors:- filter:resource: foobar- type: barprocessors:- filter:not:resource: foobarresources:conditions:foobar:text:operator: equals_cspart: 1arg: filter me please