Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know elastic search installed version from kibana?

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?

like image 453
Shantesh Avatar asked Feb 18 '16 06:02

Shantesh


People also ask

How do I find Elasticsearch version?

If the Elasticsearch process isn't running, you may need to grab the version number using the command line. At first, navigate your terminal to the Elasticsearch installation directory. When using apt to install the database, you may find it in the /usr/share/elasticsearch directory.

How do I know if Elasticsearch is installed?

1. Verify elasticsearch is running by typing $ smarts/bin/sm_service show. 2. Verify elasticsearch is serving requests from a browser on the same machine in Windows or using a tool like curl on Linux.

Does Kibana version have to match Elasticsearch version?

Answer. Elasticsearch and Kibana are aligned with the same version numbers. For example, if you have Elasticsearch V5. 4.1, then you need to run Kibana V5.

How do you check Kibana is installed or not?

Check the Kibana statusedit To view the Kibana status page, use the status endpoint. For example, localhost:5601/status . For JSON-formatted server status details, use the localhost:5601/api/status API endpoint.


2 Answers

from the Chrome Rest client make a GET request or curl -XGET 'http://localhost:9200' in console

rest client: http://localhost:9200

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

where number field denotes the elasticsearch version. Here elasticsearch version is 2.3.4

like image 193
user3094718 Avatar answered Sep 20 '22 19:09

user3094718


I would like to add which isn't mentioned in above answers.

From your kibana's dev console, hit following command:

GET / 

This is similar to accessing localhost:9200 from browser.

Hope this will help someone.

like image 20
ms_27 Avatar answered Sep 16 '22 19:09

ms_27