How to match multiple fields to single value with IF

I am trying to match multiple fields to a single value then mutate the field if necessary in a single if statement instead of having multiple different If statements

For example:

if [1] or [2] or [3] = null {

mutate {
             gsub => [ 'Field(s) That Matched, "null", "0" ]


would this be possible?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.