Couldn't find any Elasticsearch data - again

I've know this has already been reported a few times, but the solutions don't work... So, here it is again: I have ES running and want to connect Kibana to it. For some reason this seems to work partially:

Kibana does find my ES indices when I access index management of ES (from Kibana):

However, when I try to add an index, Kibana doesn't find any ES data:

image

I have no clue how this is even possible at all: Kibana seems to find the indices in one view, but not in another...

ES is running fine, on the same machine as Kibana. ES url is setup fine (localhost:9200) and the indices do have data:

# curl http://localhost:9200/_cat/indices?v
health status index                     uuid                   pri rep docs.count docs.deleted store.size pri.store.size
green  open   .kibana_1                 Pg7F9ehuRzWj7yUszQwxqA   1   0        192            4    293.3kb        293.3kb
yellow open   filebeat-6.5.3-2018.12.12 arBa3sSrTiyLi3zyHR3Law   3   1       3878            0      1.3mb          1.3mb
yellow open   kibana                    pOJ9mndlRleDnucb3__HRg   5   1          0            0      1.2kb          1.2kb
yellow open   logstash-2018.12.12       x7OfK9nbT4q87qUCwaxOgw   5   1       2693            0      1.7mb          1.7mb

# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)


# systemctl status kibana
● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-12-12 23:04:20 CET; 22min ago
 Main PID: 8881 (node)
    Tasks: 10 (limit: 4915)
   CGroup: /system.slice/kibana.service
           └─8881 /usr/share/kibana/bin/../node/bin/node --no-warnings /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

Dec 12 23:21:18 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:18Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/saved_objects/_find?type=index-pattern&fields=title&fields=type&per_page
Dec 12 23:21:18 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:18Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/saved_objects/_find?type=index-pattern&fields=title&fields=type&per_page
Dec 12 23:21:18 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:18Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/rollup/indices","method":"get","headers":{"host":"127.0.0.1:5601","conne
Dec 12 23:21:18 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:18Z","tags":[],"pid":8881,"method":"get","statusCode":404,"req":{"url":"/favicon.ico","method":"get","headers":{"host":"127.0.0.1:5601","connection":
Dec 12 23:21:20 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:20Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/saved_objects/_find?type=index-pattern&fields=title&fields=type&per_page
Dec 12 23:21:20 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:20Z","tags":[],"pid":8881,"method":"get","statusCode":404,"req":{"url":"/favicon.ico","method":"get","headers":{"host":"127.0.0.1:5601","connection":
Dec 12 23:21:20 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:20Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/rollup/indices","method":"get","headers":{"host":"127.0.0.1:5601","conne
Dec 12 23:21:20 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:20Z","tags":[],"pid":8881,"method":"get","statusCode":404,"req":{"url":"/favicon.ico","method":"get","headers":{"host":"127.0.0.1:5601","connection":
Dec 12 23:21:20 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:20Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/rollup/indices","method":"get","headers":{"host":"127.0.0.1:5601","conne
Dec 12 23:21:35 monitor kibana[8881]: {"type":"response","@timestamp":"2018-12-12T22:21:35Z","tags":[],"pid":8881,"method":"get","statusCode":200,"req":{"url":"/api/saved_objects/_find?type=index-pattern&fields=title&per_page=10000&page=
lines 1-18/18 (END)

# systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-12-12 21:53:37 CET; 1h 33min ago
     Docs: http://www.elastic.co
 Main PID: 7960 (java)
    Tasks: 60 (limit: 4915)
   CGroup: /system.slice/elasticsearch.service
           ├─7960 /usr/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX
           └─8017 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller

Dec 12 21:53:37 monitor systemd[1]: Started Elasticsearch.

What am I missing?

Too bad, doesn't work, Graylog for me now.

That looks weird to me. I'm moving your question to #kibana channel as it may be the best place to ask this.

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