Hi,
I'd like to know how I can check in an if-condition in Logstash, is a field's value (in the example below the field is named "complete") starts with the value of another field (in the example below the field is named "starts_with").
I tried
if [complete] =~ /^[starts_with].*/ {
...
}
This sounds like a simple task, but maybe it's just too late for me. Do you have a syntax hint?
Best regards, Mattin