Elasticsearch hosts from configuration file in logstash JMS plugin


How can I configure the logstash configuration to retrieve the hosts (and maybe other parameters) from a configuration file (or at least from a single variable)?

The problem is that we want to make automated updates when deploying to an environment, and there are some variables (specially hosts) that is environment-sensitive.


Sounds like https://www.elastic.co/guide/en/logstash/current/environment-variables.html would help.

Exactly! Thank you very much!

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