I am trying to execute a conf file and get the following error:
Connecion refused - failed to open TCP connection
The error does not occur when I export the http and https_proxy variables before executing the conf file.
I've read in the documentation for Logstash that: " You can set environment variable references in the configuration for Logstash plugins by using ${var}"
However I don't understand what this means? I assume that I need to edit my conf file to add a reference to these variables, but I am not sure how to do this.
Run printenv in your terminal. These are your enviromoment variables you can use. So if you want to use USER in logstash you would use ${USER} and that would be replaced by the value when you start your pipeline.
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.