@Badger
Thank you and sorry for the late reply.
Actually, it didn't work as expected. They were just used as normal strings and Logstash was trying to connect to a database named %{[db]} in Influxdb.
Hi @Badger
Sorry for pinging you again.
If we want to use variables as retention_policy, do you know how to approach this?
I'm thinking the same way as database, but it seems only database is passed to flush function. So, I'm not sure if we can extend the flush function with more parameters.
@Badger
Thank you. I've already tried that but it didn't work.
I think it's because the passed retention_policy variable has to be passed to buffer_receive first.
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.