You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because logstash send_to block does currently not recognize sprintf, must use conditional logic to wrap send_to block. A config must contain the following workaround.
output {
if [@metadata][field] {
if [@metadata][field] == "field_value" {
pipeline { send_to => ["pipeline_name", "field_value", ...]}
else {...}
}
The text was updated successfully, but these errors were encountered:
You are correct that the pipeline output's send_to does not support sprintf.
Due to the design of the pipeline bus, all destination pipeline addresses must be known to the output plugin at plugin registration (before pipeline startup). While dynamic routing may be possible at some point in the future, it would be exceptionally tricky to implement in a way that doesn't risk automating data-loss.
sprintf does not work for pipeline to pipeline communication in logstash. send_to block does not acknowledge sprintf formatted inputs.
For example, an ideal logstash output would look like the following:
Because logstash send_to block does currently not recognize sprintf, must use conditional logic to wrap send_to block. A config must contain the following workaround.
The text was updated successfully, but these errors were encountered: