79

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?

0

12 Answers 12

102

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

2
  • 1
    if you do find the number here as a different than the one installed and probably wondering what I have done wrong. Then there is a good chance that there are two version of elastic are running on your host. May 25, 2018 at 9:28
  • ElasticSearch 1.4.5 just returns {"OK":{}}. I could get the version by doing curl localhost:9200/_nodes.
    – Kris
    Jul 27, 2018 at 14:27
74

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.

1
  • 3
    This really helped me, with elasticsearch 6, when my browser didn't have access to a remote ES server's port 9200 but it did have access to a suitable kibana installation.
    – dcorking
    Dec 20, 2018 at 16:36
14

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

1
  • Two things: you don't need -X GET, this is the default, and please don't stick values to arguments in life, as unexperienced people would think that èGET is an actual switch... 2. Please don't listen to those people in other places who will tell you to do elasticsearch --version, this may fail with memory error. Sep 15, 2022 at 3:36
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
6

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.
1
  • 4
    in my Kibana dashboard, there is no option as Settings. I can see Discover,Visualize,Dashboard,Timelion,Dev Tools,Management. That's all. I am running Kibana in a remote server but I guess that's not relevant here.
    – Sandun
    Jan 18, 2019 at 10:11
5

Another way to do it on Ubuntu 18.0.4

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

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",
       ...
   }
}
4

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"
                  }
3
  • i am using elastic search engine which is installed on local host.
    – Shantesh
    Feb 18, 2016 at 12:46
  • my point is that due to version incompatibility i am unable to see that data in K3 GUI.
    – Shantesh
    Feb 18, 2016 at 13:18
  • can you please tell me your ElasticSearch version.?? Because,Kibana 3 does not support Elasticsearch versions greater than 1.7. This is mentioned in the kibana 3 documentation(elastic.co/guide/en/kibana/3.0/_introduction.html) but not in the release notes. Feb 19, 2016 at 4:21
4

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).

4

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.

1
  • 1
    This will show the Kibana version but to find the Elasticsearch version you should run GET / in the Kibana 'Dev Tools' console as per the answer from @ms_27
    – sparrowt
    Dec 14, 2021 at 14:15
2

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 /

1

If you looking for version in kibana ui Version kibana UI

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.