Hello
I have install elasticsearch and metricbeat,I have config metricbeat’s output to elastic,but when setup meticbeat,
it’s connect to elasticsearch was refused,the Errors is shown below:
Exiting: Couldn’t connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch https://10.5.107.22:9200: Get https://10.5.107.22:9200: proxyconnect tcp: dial tcp 10.104.1.43:3128: getsockopt: connection refused].
can anyone help me?thank you very much.
Can you try if you can access the above url with curl form the machine you have Metricbeat installed? Do you have a proxy between metricbeat and Elasticsearch?
Dear ruflin
I have resolve the problem,the reason is My proxy network server,it refused the connection.the metricbeat and elastic are in the same server,so when I close the proxy,the problem solved.
Thank you very much.
Best regards
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.