How to know elastic search installed version from kibana?

ElasticsearchKibana

Elasticsearch Problem Overview


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?

Elasticsearch Solutions


Solution 1 - Elasticsearch

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

Solution 2 - Elasticsearch

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.

Solution 3 - Elasticsearch

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

Solution 4 - Elasticsearch

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

Solution 5 - Elasticsearch

To check Version of Your Running Kibana,Try this:

Step1. Start your Kibana Service.

Step2. Open Browser and Type below line,

    localhost:5601

Step3. Go to settings->About

  You can See Version of Your Running kibana.

Solution 6 - Elasticsearch

You can Try this, After starting Service of elasticsearch Type below line in your browser.

         localhost:9200

     It will give Output Something like that,

          {
           "status" : 200,
           "name" : "Hypnotia",
           "cluster_name" : "elasticsearch",
           "version" : {
           "number" : "1.7.1",
           "build_hash" : "b88f43fc40b0bcd7f173a1f9ee2e97816de80b19",
           "build_timestamp" : "2015-07-29T09:54:16Z",
           "build_snapshot" : false,
            "lucene_version" : "4.10.4"
                  },
            "tagline" : "You Know, for Search"
                  }

Solution 7 - Elasticsearch

If you have installed x-pack to secure elasticseach, the request should contains the valid credential details.

curl -XGET -u "elastic:passwordForElasticUser" 'localhost:9200'

Infact, if the security enabled all the subsequent requests should follow the same pattern (inline credentials should be provided).

Solution 8 - Elasticsearch

If you are logged into your Kibana, you can click on the Management tab and that will show your Kibana version. Alternatively, you can click on the small tube-like icon enter image description here and that will show the version number.

Solution 9 - Elasticsearch

Another way to do it on Ubuntu 18.0.4

sudo /usr/share/kibana/bin/kibana --version

Solution 10 - Elasticsearch

You can use the Dev Tools console in Kibana to obtain version information about Elasticsearch.

You click "Dev Tools" to navigate into console.

In the Dev Tools Console, you do a below query

GET /

You will see version and number like below with other details also.

{
  "version" : {
      "number" : "6.5.1",
       ...
   }
}

Solution 11 - Elasticsearch

From Kibana host, a request to http://localhost:9200/ will not be answered, unless ElasticSearch is also running on the same node. Kibana listens on port 5601 not 9200.

In most cases, except for DEV, ElasticSearch will not be on the same node as Kibana, for a number of reasons. Therefore, to get information about your ElasticSearch from Kibana, you should select the "Dev Tools" tab on the left and in the console issue the command: GET /

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionShanteshView Question on Stackoverflow
Solution 1 - Elasticsearchuser3094718View Answer on Stackoverflow
Solution 2 - Elasticsearchms_27View Answer on Stackoverflow
Solution 3 - ElasticsearchHimanshu ChauhanView Answer on Stackoverflow
Solution 4 - ElasticsearchSivaView Answer on Stackoverflow
Solution 5 - Elasticsearchkrishna kumarView Answer on Stackoverflow
Solution 6 - Elasticsearchkrishna kumarView Answer on Stackoverflow
Solution 7 - ElasticsearchAviroView Answer on Stackoverflow
Solution 8 - ElasticsearchavpView Answer on Stackoverflow
Solution 9 - ElasticsearchGajen SuntharaView Answer on Stackoverflow
Solution 10 - ElasticsearchJustin JohnView Answer on Stackoverflow
Solution 11 - ElasticsearchLanreView Answer on Stackoverflow