Fresh install of Kibana 5.6.2 running on default settings isn't working


(Leo Scordilis) #1

Hi there,

I've installed both Elasticsearch and Kibana 5.6.2 on Windows 10 x64. Running elasticsearch seems to work just fine, I get the expected server output and the REST API is accessible at localhost:9200

curl localhost:9200
{
  "name" : "IFhcBfL",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "ZCJwAdJORMWOgY-x2CICVw",
  "version" : {
    "number" : "5.6.2",
    "build_hash" : "57e20f3",
    "build_date" : "2017-09-23T13:16:45.703Z",
    "build_snapshot" : false,
    "lucene_version" : "6.6.1"
  },
  "tagline" : "You Know, for Search"
}

However, when I run kibana on default settings, following the tutorial here, I get Status: Red and it appears the plugin:elasticsearch@5.6.2 is timing out.


I'm pretty sure I followed the setup instructions correctly, am I missing something here?


(Leo Scordilis) #2

Okay, I'm getting a cluster health of "yellow" on when I call the API

epoch      timestamp cluster       status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
1507329267 18:34:27  elasticsearch yellow          1         1      1   1    0    0        1             0                  -                 50.0%

It was green before I posted this, and I literally haven't done anything to it so I'm at a loss :cry:


(Mark Walkom) #3

What does _cat/shards show?
Also is there anything in the Kibana logs?


(Leo Scordilis) #4

Hi, thanks for the reply!

_cat/shards shows

.kibana 0 p STARTED    0 162b 127.0.0.1 IFhcBfL
.kibana 0 r UNASSIGNED     

And the kibana logs show

  log   [22:37:27.456] [info][status][plugin:kibana@5.6.2] Status changed from uninitialized to green - Ready
  log   [22:37:27.519] [info][status][plugin:elasticsearch@5.6.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [22:37:27.534] [info][status][plugin:console@5.6.2] Status changed from uninitialized to green - Ready
  log   [22:37:27.550] [info][status][plugin:metrics@5.6.2] Status changed from uninitialized to green - Ready
  log   [22:37:27.706] [info][status][plugin:timelion@5.6.2] Status changed from uninitialized to green - Ready
  log   [22:37:27.706] [info][listening] Server running at http://localhost:5601
  log   [22:37:27.706] [info][status][ui settings] Status changed from uninitialized to yellow - Elasticsearch plugin is yellow
  log   [22:37:28.925] [info][status][plugin:elasticsearch@5.6.2] Status changed from yellow to green - Kibana index ready
  log   [22:37:28.925] [info][status][ui settings] Status changed from yellow to green - Ready

...looks like now it works? Lol I haven't done anything at all. Except for restarting both instances a couple times.


(Leo Scordilis) #5

@warkolm out of curiosity, what is this UNASSIGNED shard to the second .kibana instance? Is this just a default object?


(Mark Walkom) #6

You cannot assign primary and replica shards to the same node, so unless you add more nodes or remove the replica it'll always be unassigned.


(system) #7

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