Wildcard in conditionals?


(Craig Foote) #1

Is this legal?

output{
    if "*error*" in [tags] or "*failure*" in [tags]{
        stdout{ codec => rubydebug }
    }
    else{
        # index in ES
    }
}

(Vincent Tran) #2

Did you try it?


(system) #3