ELK Stack – Upgrade from 2.x to 5.x

Elasticsearch Snapshot and Restore

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html

 

Elasticsearch Migration Helper Plugin

cd /usr/share/elasticsearch/

./bin/plugin install https://github.com/elastic/elasticsearch-migration/releases/download/v2.0.4/elasticsearch-migration-2.0.4.zip

you may get updated command from here -> Elasticsearch Migration Plugin Install

You may download plugin from here -> Elasticsearch Migration Plugin

After plugin install, access plugin using URL

http://elasticsearch_ip:9200/_plugin/elasticsearch-migration/

netstat -na | egrep ‘9200|9300’

vi /etc/elasticsearch/elasticsearch.yml

network.host: localhost      to       network.host: “0”

 


If we have error for file descriptors.

Elasticsearch uses a lot of file descriptors or file handles. Running out of file