How to connect elasticsearch 6.8 running locally with opensearch

I am facing issue in connecting my elasticsearch with opensearch. I have following installed.

  1. elasticsearch 6.8 running locally on port 9200
  2. opensearch_dashboard running locally “yarn start”
  3. opensearch in docker using ```
    docker run -p 9200:9200 -p 9600:9600 -e “discovery.type=single-node” opensearchproject/opensearch:1.2.4
How can the opensearch connect with my locally running elasticsearch6.8?


Hey @NKdev, just trying to understand your question better. What are you looking to achieve? Are you trying to move data from one cluster to another? One issue might be trying to run them both using port 9200. If they are on the same machine they cannot use the same port.

@dtaivpp Thanks for replying. I am trying to replace the elastic which comes with opensearch docker with my local elastic 6.8