Hi,
I have to implement a rule where check the tags field.
In this field we know that can be store more then one elements (like a List<String>). I need to check if contains a specific value (like Stream rule)
Is this possible on Pipeline rule? Can you give me an example?
Sorry.
I need to create a rule to use it in a Pipeline.
In this rule I have a field myfield where I’d like to have a multivalue (it is similar to tags field that can contains more than one value when you use Collector Sidecar Configurations)
Like Collector Sidecar Configurations tags, I need to inspect the field values using contains.
Looking Stream I can create a similar rule ’ Field tags must contain myfield’ that we use to route event to a specific Stream.
Is this scenario feasible in pipeline rule?
Can I check tags value in where condition building a pipeline rule?
Fo example
where
$message.tags.contains("mick mouse")
then
set_field(...)