I have a self hosted elasticsearch and I wanted to transform all indices to a elasticsearch docker container.
What are the possible solutions to move all indices from localhost ES cluster to the ES container?
After digging in the internet, I found the answer of my question. It has a simple solution. Just Copy -> Paste. The procedure is as follows:
/usr/share/elasticsearch/
( or any other installation directory). In the conf/elasticsearch.yml
file, find the path.data. (The default is /var/lib/elasticsearch/
)/var/lib/elasticsearch/nodes/<node id>/indices/
<your-volume-path>/nodes/<node id>/indices/