kibana 6.0.0-rc2を起動する
kibana 6.0.0-rc2を起動する前提として次の3つをやっておく。
起動する方法を次に記す。kibanaをダウンロードして解凍したディレクトリに移動して以下のようにコマンドを入力する。
bash-3.2$ cd kibana-6.0.0-rc2-darwin-x86_64/ bash-3.2$ ls LICENSE.txt README.txt config node optimize plugins ui_framework NOTICE.txt bin data node_modules package.json src webpackShims bash-3.2$ cd bin bash-3.2$ ls kibana kibana-plugin bash-3.2$ ./kibana log [13:05:51.998] [info][status][plugin:kibana@6.0.0-rc2] Status changed from uninitialized to green - Ready log [13:05:52.049] [info][status][plugin:elasticsearch@6.0.0-rc2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [13:05:52.081] [info][status][plugin:console@6.0.0-rc2] Status changed from uninitialized to green - Ready log [13:05:52.123] [info][status][plugin:metrics@6.0.0-rc2] Status changed from uninitialized to green - Ready log [13:05:52.373] [info][status][plugin:timelion@6.0.0-rc2] Status changed from uninitialized to green - Ready log [13:05:52.379] [info][listening] Server running at http://localhost:5601 log [13:05:52.381] [info][status][ui settings] Status changed from uninitialized to yellow - Elasticsearch plugin is yellow log [13:05:57.389] [info][status][plugin:elasticsearch@6.0.0-rc2] Status changed from yellow to yellow - No existing Kibana index found log [13:05:58.948] [info][status][plugin:elasticsearch@6.0.0-rc2] Status changed from yellow to green - Kibana index ready log [13:05:58.949] [info][status][ui settings] Status changed from yellow to green - Ready
これで起動できたことになる。ブラウザで http://localhost:5601 と入力すると次のような画面が表示される。
Unable to fetch mapping. Do you have indices matching the pattern? とエラーのような表示がでているがこれは「Elasticsearchにまだなにもデータ入ってないから可視化出来ないよ。なにかデータいれてインデックス指定してね。」みたいな意味。