the input works even I can read data from a cvs file and the output stdout { codec => rubydebug } works as well
but output elasticsearch { hosts => ["localhost:9200"] } doesn't work ?? doesn't send data to elasticsearch
my elasticsearch is installed in a docker container and kibana in an other container, they are well conected to each other using a docker network, in ports 9200 , 5601
I can't reach them from Logstash, wich is installed in the host machine Centos how can I manage this mess ?? please help !!!
But if you're running ES in a container, is it really accessible via localhost:9200? With the default network mode of containers I'd assume you'd have to use its IP address.
but I tried the command docker inspect I found three deffernts IP@ i've tried the three of them but it doesn't work ??? I tried to reach ES fist from firefox IP@:9200 but it doesn,'t work
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.