Interpolate list from environment variable in filebeats

Older Filebeat versions document a syntax for including a list of e.g. hosts from an environment variable into filebeat.yml.

https://www.elastic.co/guide/en/beats/filebeat/1.2/using-environ-vars.html

This feature seems to have vanished from newer releases.

Is it still possible through any other way to perform such an inclusion?

Any usage of e.g. [${KAFKA_BROKERS}] doesn't work, as it always interprets the list of hosts as a full string.

This looks indeed like a regression in 5.0. I can't think of a workaround at the moment. Can you open a ticket in the Github Beats repository, please?

Done!

That isn't quite the answer I hoped for, but it clarifies things :D.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.