it gets parsing error. as the parser probably comes from logstash and not from each plugin, i think it is more suitable to open the bug in the logstash level.
This isn't a generic problem. By design not all options support sprintf interpolations. In many cases it's an oversight but there are cases when the option value can't be dynamic (or it would be too expensive to make it dynamic).
Thanks for the quick response. In this case its not really expensive to make it dynamic as this flag is simply sent to the http request sent to elastic search. All other fields like index and routing are also dynamic. What is your opinion on solving this? Can this be solved on the plugin level without breaking changes like changing the property to be a string value?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.