Hello,
I am working on the use of pipeline-to-pipeline. I wanted to value a variable and then use it in send_to of the pipeline plugin.
idea to avoid the use of several if..else conditions which surely have an impact on the performance of logstash.
but unfortunately, the field fails to be valued once in the send_to.
input {
# ESB blablabla
stdin {}
}
filter {
grok { match => {"message" => "%{WORD:appTrigrammeCible}%{SPACE}%{GREEDYDATA:other}"}}
mutate {
add_field => {
"[@metedata][output_id]" => "%{}" # OK
}
}
}
output {
pipeline {
send_to => [ %{[@metedata][output_id]} ]
}
}
An idea ?