How to know elastic search installed version from

2019-03-08 13:27发布

Currently I am getting these alerts:

Upgrade Required Your version of Elasticsearch is too old. Kibana requires Elasticsearch 0.90.9 or above.

Can someone tell me if there is a way I can find the exact installed version of ELS?

9条回答
Summer. ? 凉城
2楼-- · 2019-03-08 14:01

You can check version of ElasticSearch by the following command. It returns some other information also:

curl -XGET 'localhost:9200'

{
  "name" : "Forgotten One",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "2.3.4",
    "build_hash" : "e455fd0c13dceca8dbbdbb1665d068ae55dabe3f",
    "build_timestamp" : "2016-06-30T11:24:31Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}

Here you can see the version number: 2.3.4

Typically Kibana is installed in /opt/logstash/bin/kibana . So you can get the kibana version as follows

/opt/kibana/bin/kibana --version

查看更多
对你真心纯属浪费
3楼-- · 2019-03-08 14:08

Another way to do it on Ubuntu 18.0.4

sudo /usr/share/kibana/bin/kibana --version
查看更多
兄弟一词,经得起流年.
4楼-- · 2019-03-08 14:12

navigate to the folder where you have installed your kibana if you have used yum to install kibana it will be placed in following location by default

/usr/share/kibana

then use the following command

bin/kibana --version
查看更多
登录 后发表回答