Closed ghost closed 4 years ago
try using: ELASTIFLOW_ES_HOST: "elastiflow-elasticsearch-oss:" ELASTICSEARCH_HOSTS: "http://elastiflow-elasticsearch-oss::9200"
Thx but not working
elastiflow-logstash-oss | [2019-09-23T21:12:55,067][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://elastic:xxxxxx@elastiflow-logstash-oss:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://elastic:xxxxxx@elastiflow-logstash-oss:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
You seem to have some issues setting up Docker networking. The provided docker-compose.yml
uses host networking. Can you explain the intent of your changes?
@elisa9180 If you're planning to run everything from the same compose file, you should point to your ES service: ELASTICSEARCH_HOSTS: "http://elastiflow-elasticsearch-oss:9200" ELASTIFLOW_ES_HOST: "elastiflow-elasticsearch-oss:9200"
Closing due to no feedback. Please reopen if this is still an issue.
My docker compose the ports extra defined to open it for external networks