Issues with connecting to Kibana - search_parse_exception error - No mapping found for [buildNum] in order to sort on

I'm new to this world but have followed the instructions for getting Elasticsearch, Logstash and Kibana running. Elasticsearch appears to be running properly:

{
  "name" : "Tether",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "2.0.0-rc1",
    "build_hash" : "4757962b01a4d837af282f90df9e1fbdb68b524e",
    "build_timestamp" : "2015-10-01T10:06:08Z",
    "build_snapshot" : false,
    "lucene_version" : "5.2.1"
  },
  "tagline" : "You Know, for Search"
}

I haven't been able to access Kibana at localhost:5601 though, I get an ERR_CONNECTION_REFUSED. When I run kibana.bat I get a search_parse_exception error:

C:\Users\bgow\Documents\MIMIC\III\ElasticSearch\kibana-4.1.2-windows\bin>kibana.
bat
{"name":"Kibana","hostname":"28544pc","pid":7224,"level":30,"msg":"Found kibana
index","time":"2015-10-15T19:45:16.690Z","v":0}
{"name":"Kibana","hostname":"28544pc","pid":7224,"level":50,"err":{"message":{"r
oot_cause":[{"type":"search_parse_exception","reason":"No mapping found for [bui
ldNum] in order to sort on"}],"type":"search_phase_execution_exception","reason"
:"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,
"index":".kibana","node":"X16Xrp5cT3-2OU-af8FaPA","reason":{"type":"search_parse
_exception","reason":"No mapping found for [buildNum] in order to sort on"}}]},"
name":"Error","stack":"Error: [object Object]\n    at respond (C:\\Users\\bgow\\
Documents\\MIMIC\\III\\ElasticSearch\\kibana-4.1.2-windows\\src\\node_modules\\e
lasticsearch\\src\\lib\\transport.js:235:15)\n    at checkRespForFailure (C:\\Us
ers\\bgow\\Documents\\MIMIC\\III\\ElasticSearch\\kibana-4.1.2-windows\\src\\node
_modules\\elasticsearch\\src\\lib\\transport.js:203:7)\n    at HttpConnector.<an
onymous> (C:\\Users\\bgow\\Documents\\MIMIC\\III\\ElasticSearch\\kibana-4.1.2-wi
ndows\\src\\node_modules\\elasticsearch\\src\\lib\\connectors\\http.js:156:7)\n
   at IncomingMessage.bound (C:\\Users\\bgow\\Documents\\MIMIC\\III\\ElasticSear
ch\\kibana-4.1.2-windows\\src\\node_modules\\elasticsearch\\node_modules\\lodash
-node\\modern\\internals\\baseBind.js:56:17)\n    at IncomingMessage.emit (event
s.js:117:20)\n    at _stream_readable.js:944:16\n    at process._tickCallback (n
ode.js:442:13)"},"msg":"","time":"2015-10-15T19:45:16.787Z","v":0}
{"name":"Kibana","hostname":"28544pc","pid":7224,"level":60,"err":{"message":{"r
oot_cause":[{"type":"search_parse_exception","reason":"No mapping found for [bui
ldNum] in order to sort on"}],"type":"search_phase_execution_exception","reason"
:"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,
"index":".kibana","node":"X16Xrp5cT3-2OU-af8FaPA","reason":{"type":"search_parse
_exception","reason":"No mapping found for [buildNum] in order to sort on"}}]},"
name":"Error","stack":"Error: [object Object]\n    at respond (C:\\Users\\bgow\\
Documents\\MIMIC\\III\\ElasticSearch\\kibana-4.1.2-windows\\src\\node_modules\\e
lasticsearch\\src\\lib\\transport.js:235:15)\n    at checkRespForFailure (C:\\Us
ers\\bgow\\Documents\\MIMIC\\III\\ElasticSearch\\kibana-4.1.2-windows\\src\\node
_modules\\elasticsearch\\src\\lib\\transport.js:203:7)\n    at HttpConnector.<an
onymous> (C:\\Users\\bgow\\Documents\\MIMIC\\III\\ElasticSearch\\kibana-4.1.2-wi
ndows\\src\\node_modules\\elasticsearch\\src\\lib\\connectors\\http.js:156:7)\n
   at IncomingMessage.bound (C:\\Users\\bgow\\Documents\\MIMIC\\III\\ElasticSear
ch\\kibana-4.1.2-windows\\src\\node_modules\\elasticsearch\\node_modules\\lodash
-node\\modern\\internals\\baseBind.js:56:17)\n    at IncomingMessage.emit (event
s.js:117:20)\n    at _stream_readable.js:944:16\n    at process._tickCallback (n
ode.js:442:13)"},"msg":"","time":"2015-10-15T19:45:16.789Z","v":0}
C:\Users\bgow\Documents\MIMIC\III\ElasticSearch\kibana-4.1.2-windows\bin>

I am running WIndows 7. I have found a couple posts that are somewhat related but none have resolved my issue:

I believe you are using incompatible versions or Elasticsearch and Kibana. Elasticsearch 2.0.0-rc1 requires Kibana 4.2.0 beta2 or later.

1 Like

Thank you for the quick reply. You are correct, using Kibana 4.2.0.beta2 resolved this issue. Kibana is now running!