hello
has anyone run logstash in docker container to connect opensearch as per docker-compose file
the above starts network with config_opensearch-net(file has opensearch-net)
below starts but unable to connect
also seen ssl_certificate_verification is required for opensearch and wont work with false on other forums and seen it my last run without logstash container
but documentation has below reference with( ssl_certificate_verification => false)
@infodata The mentioned OpenSearch docker-compose has a security plugin and demo certs disabled. As a result, the OpenSearch cluster runs on HTTP and is not secured.
That’s why your logstash docker might not to work as it tries to authenticate against HTTPS.
To run a secured cluster you either set the below options to false or comment them out.
Also, avoid using localhost in the host value. Use either FQDN/IP of the docker host or container name of the OpenSearch.
The network of the logstash container has to be exactly the same as OpenSearch container.
@pablo
my current opensearch dockercompose cluster is working on https
to connect to it https works but not http
the logstash is looking for cert need to import it ?
Edit:updating localhost to ip worked and it is https://
updating hosts =>[“https://10.1.1.x”]
which file should have this
“DISABLE_INSTALL_DEMO_CONFIG=true”
“DISABLE_SECURITY_PLUGIN=true”