I'm rebuilding an ELK cluster (3 separate nodes each in AWS for each of logstash, elasticsearch, kibana) with slightly newer versions (the same configs before were working with very little intervention for setup). I'm getting a very generic "unknown error" when trying to start Kibana 4.1.1 (I'd use 4.2.x, but still no package available).
Using the Elastic provided RPMs for all packages ES =2.1.1 (with cloud-aws plugin), logstash 2.0.0.
Using strace, I see the following conversation:
`HEAD / HTTP/1.1
Host: es-host:9200
Connection: keep-alive
HTTP/1.1 200 OK
Content-Type: text/plain; charset=UTF-8
Content-Length: 0
GET /_cluster/health/.kibana?timeout=5s HTTP/1.1
Host: es-host:9200
Connection: keep-alive
HTTP/1.1 408 Request Timeout
Content-Type: application/json; charset=UTF-8
Content-Length: 377
{"cluster_name":"logs","status":"red","timed_out":true,"number_of_nodes":3,"number_of_data_nodes":3,"active_primary_shards":0,"active_shards":0,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}", 65536) = 477
However, if I do a curl for the same request, I get:
# curl -XGET 'es-host:9200/_cluster/health?pretty=true'
{
"cluster_name" : "logs",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 3,
"active_primary_shards" : 25,
"active_shards" : 50,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}`
With the .kibana index created (with dynamic mapping enabled), I get different results:
# curl -XGET 'es-host:9200/.kibana/_mapping' {".kibana":{"mappings":{}}}
I've had a look through topics like
however, there's no auth / proxy related issue AFAICT (did manually try the patch suggested in https://gist.github.com/anonymous/98d4e597f0f48aa9c524, but that didn't make a difference.