Unable To Install kibana 6.6 with elasticsearch 6.5.4

I'm trying to install Kibana on my local Windows machine and have been following these instructions https://www.elastic.co/downloads/kibana. Elasticsearch is already installed and running without any problems. However, during the installation of Kibana I get an error message [illegal_argument_exception] request [/.reporting-*/_search] contains unrecognized parameter: [rest_total_hits_as_int].... (see screenshot below) and nothing else happens. About once every 2 min. the error message repeats itself and it has now for the past three hours. I know it can see Elasticsearch because if I stop it I get a connection error in the Kibana installation.

http://localhost:5601/ shows the following:
Kibana server is not ready yet

http://localhost:9200/_cat/indices shows the following:
yellow open license_report_index pM20FufSS0mS8uYnZejLIA 5 1 1 0 19.2kb 19.2kb
yellow open user_group_license_view_index Tw60gp5FRmi8EhFVhq45Mg 5 1 1 0 15.2kb 15.2kb
yellow open user_licenses_view_index OgY_7tOATm2T5jWZe3YGBg 5 1 0 0 1.2kb 1.2kb
yellow open license_view_index G8YtVJS1SMajBpCJKs8vSg 5 1 1 0 17.6kb 17.6kb
yellow open searchable-items DES9KHXURSu8Fo-SfB7rjQ 5 1 4 0 603.4kb 603.4kb
yellow open owner_view_index 68JXvwiGQviYUTcNOkWTyg 5 1 2 0 23.9kb 23.9kb

http://localhost:9200/_cluster/stats?human&pretty show this:
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "elasticsearch",
"cluster_uuid" : "N4zdAgfTTwiFaNUMmoYL_w",
"timestamp" : 1548849666511,
"status" : "yellow",
"indices" : {
"count" : 6,
"shards" : {
"total" : 30,
"primaries" : 30,
"replication" : 0.0,
"index" : {
"shards" : {
"min" : 5,
"max" : 5,
"avg" : 5.0
},
"primaries" : {
"min" : 5,
"max" : 5,
"avg" : 5.0
},
"replication" : {
"min" : 0.0,
"max" : 0.0,
"avg" : 0.0
}
}
},
"docs" : {
"count" : 9,
"deleted" : 0
},
"store" : {
"size" : "680.8kb",
"size_in_bytes" : 697190
},
"fielddata" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"query_cache" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"total_count" : 0,
"hit_count" : 0,
"miss_count" : 0,
"cache_size" : 0,
"cache_count" : 0,
"evictions" : 0
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 9,
"memory" : "400.1kb",
"memory_in_bytes" : 409799,
"terms_memory" : "347kb",
"terms_memory_in_bytes" : 355401,
"stored_fields_memory" : "2.7kb",
"stored_fields_memory_in_bytes" : 2808,
"term_vectors_memory" : "0b",
"term_vectors_memory_in_bytes" : 0,
"norms_memory" : "49kb",
"norms_memory_in_bytes" : 50176,
"points_memory" : "258b",
"points_memory_in_bytes" : 258,
"doc_values_memory" : "1.1kb",
"doc_values_memory_in_bytes" : 1156,
"index_writer_memory" : "0b",
"index_writer_memory_in_bytes" : 0,
"version_map_memory" : "0b",
"version_map_memory_in_bytes" : 0,
"fixed_bit_set" : "0b",
"fixed_bit_set_memory_in_bytes" : 0,
"max_unsafe_auto_id_timestamp" : -1,
"file_sizes" : { }
}
},
"nodes" : {
"count" : {
"total" : 1,
"data" : 1,
"coordinating_only" : 0,
"master" : 1,
"ingest" : 1
},
"versions" : [
"6.5.4"
],
"os" : {
"available_processors" : 8,
"allocated_processors" : 8,
"names" : [
{
"name" : "Windows 10",
"count" : 1
}
],
"mem" : {
"total" : "15.8gb",
"total_in_bytes" : 17055326208,
"free" : "1.2gb",
"free_in_bytes" : 1388392448,
"used" : "14.5gb",
"used_in_bytes" : 15666933760,
"free_percent" : 8,
"used_percent" : 92
}
},
"process" : {
"cpu" : {
"percent" : 0
},
"open_file_descriptors" : {
"min" : -1,
"max" : -1,
"avg" : 0
}
},
"jvm" : {
"max_uptime" : "9.7m",
"max_uptime_in_millis" : 582053,
"versions" : [
{
"version" : "1.8.0_191",
"vm_name" : "Java HotSpot(TM) 64-Bit Server VM",
"vm_version" : "25.191-b12",
"vm_vendor" : "Oracle Corporation",
"count" : 1
}
],
"mem" : {
"heap_used" : "541.5mb",
"heap_used_in_bytes" : 567901304,
"heap_max" : "7.8gb",
"heap_max_in_bytes" : 8457289728
},
"threads" : 44
},
"fs" : {
"total" : "237.5gb",
"total_in_bytes" : 255073447936,
"free" : "135.4gb",
"free_in_bytes" : 145456750592,
"available" : "135.4gb",
"available_in_bytes" : 145456750592
},
"plugins" : ,
"network_types" : {
"transport_types" : {
"netty4" : 1
},
"http_types" : {
"netty4" : 1
}
}
}
}

Your Elasticsearch instance is 6.5.4, so you should upgrade this to 6.6.0. What is the output of http://localhost:9200?

{
"name" : "LRI-L03240",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "N4zdAgfTTwiFaNUMmoYL_w",
"version" : {
"number" : "6.5.4",
"build_flavor" : "unknown",
"build_type" : "unknown",
"build_hash" : "d2ef93d",
"build_date" : "2018-12-17T21:17:40.758843Z",
"build_snapshot" : false,
"lucene_version" : "7.5.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}

How was this instance of Elasticsearch installed given that build_flavor and build_type are unknown?

I followed the instructions on this site https://www.elastic.co/guide/en/elasticsearch/reference/current/windows.html
But it was the command line option and it was not installed as a Service so I have to start it manually from command line.

I seem to have fixed this by downgrading my Kibana to 6.5.4 to match my Elasticsearch version. (I'm not able to upgrade my Elasticsearch because of other dependicies). However, it is a bit embarrassing that Elasticsearch and Kibana are so strongly coupled together that you can't have 0.1 of a version differance between them I think. Thank you for your help Christian :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.