Open amitaiporat opened 1 week ago
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.