Elasticsearch, Kibanaを5.0.1から5.2にアップグレードした
題記の通りです。
リリースブログはこちら
Elasticsearch 5.2.0 released | Elastic
Kibana 5.2.0 released | Elastic
Elasticsearchは下記手順でアップグレードした。
Rolling upgrades | Elasticsearch Reference [5.2] | Elastic
アップグレード前にElasticsearchへのデータ流入を止めてから作業した。
アップグレード後に順調にunassigned shardの数が減っているのはcerebroで確認してたんだけど、数が800ぐらいになってから減り方のスピードが落ちたので、データ流入を再開したけど特に問題はなかった。
Cluster Allocation Explain APIなるものが追加されてshardのallocation状況が見れるようになった。
Cluster Allocation Explain API | Elasticsearch Reference [5.2] | Elastic
Kibanaはtar ballを入れ替えてアップグレードした。
公式手順はこちら
Standard Upgrade | Kibana User Guide [5.2] | Elastic
作業で特に問題はなかったけど、After installation on Kibana 4.2.0 the page is blank · Issue #12 · elastic/timelion · GitHubは解決せず。
あとThere are too many series defined.が出たグラフもあった。期間をしぼったら解消したけど。
現象としては下記に近い。histogram使ってないけど。
Date histogram with more than 25 aggregations not getting displayed in Kibana 5.2 · Issue #10132 · elastic/kibana · GitHub
またうちの環境では古いインデックスの削除にcuratorを使っているけど、4.2.4だと下記のエラーがでた。
Unable to create client connection to Elasticsearch. Error: Elasticsearch version 5.2.0 incompatible with this version of Curator (5.2.0)
最新の4.2.6ならElasticsearch 5.2に対応しているのでアップグレードする必要があった。
Releases · elastic/curator · GitHub
そんな感じです。