Interpolate list from environment variable in filebeats

(Florian Gilcher) #1

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

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.

Using list environment variables in filebeat config
(Tudor Golubenco) #2

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?

(Florian Gilcher) #3


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

(system) #4

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