Indexes are not visible in Kiabana even though ES have


(Jagadeesh Koka) #1

I am unable to see or create index pattern for the ES indexes, as Kiabana says no Data from Elastic Search.

but when I run http://localhost:9200/_cat/indices?pretty
I can see below indexes in ES

green  open .kibana_task_manager       XcFsDnpdTYK90KVNB-fv6w 1 0   2 0             46.2kb  46.2kb
green  open .kibana_1                  vn74gzb6TKSUkCpaD4gFkw 1 0 614 6 32.8kb 332.8kb
yellow open logstash-2019.04.17-000001 w5TF7NmFQ4yh8aeJ2NZulA 1 1   0 0    283b    283b

my logstash config file is as below

 input {
 beats { port => 5400}
     }
  output {
    elasticsearch {
        hosts => ["http://localhost:9200"]
         }
    stdout { codec => rubydebug }   
  }

I want to create logstash index in Kibana but I cant

Please help, I have been struggling for the past week, and I am using ELK 7.0


#2

Hello,

Can you try to create a dummy index on your es instance (PUT /dummy-index) and see if you can create an index pattern from it in Kibana?

Cheers


(Jagadeesh Koka) #3

hi,

Yes I was able to create dummy indexes, and then able to see in Kiabna only if I put some dummy doc in the index. so I am guessing my logstash index doesnt have doc.count=0 do you think thats the reason ?


(Jagadeesh Koka) #4

Hello @sebastien,

Its problem with my Filebeat pointing to wrong port of logstash but its not having docs in it thats reason.

My bad, its stupid mistake.

thanks for the reply


#5

Great, happy to help :slight_smile: