首页 > 解决方案 > 我丢失了 kibana 数据,但其他弹性搜索索引数据很好

问题描述

不知何故,我丢失了 kibana 数据

消失了。

但我可以看到弹性搜索中的原始数据(索引)在那里。

损失的可能原因是什么?

我正在使用官方的 kibana docker (7.4.2)

我使用以下设置。(除主机设置外,我没有看到任何与数据相关ES的设置,并且已修复。

logging.dest: /var/log/kibana/kibana.log
server.host: "localhost"
elasticsearch.hosts: ["http://<ELASTICSEARCH_HOST>:<ELASTICSEARCH_PORT>"]

另一个可能相关的错误是,我too many redirects在某个 kibana 启动后看到(启动后几天)

wget http://localhost:5601/                                                                                                                                           112339ms
--2020-07-29 11:55:10--  http://localhost:5601/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:5601... connected.
HTTP request sent, awaiting response... 302 Found
Location: /app/kibana [following]
--2020-07-29 11:55:10--  http://localhost:5601/app/kibana
Reusing existing connection to localhost:5601.
HTTP request sent, awaiting response... 302 Found
Location: / [following]
--2020-07-29 11:55:11--  http://localhost:5601/
Reusing existing connection to localhost:5601.
HTTP request sent, awaiting response... 302 Found
Location: /app/kibana [following]
--2020-07-29 11:55:11--  http://localhost:5601/app/kibana
Reusing existing connection to localhost:5601.
HTTP request sent, awaiting response... 302 Found
Location: / [following]
--2020-07-29 11:55:11--  http://localhost:5601/
Reusing existing connection to localhost:5601.
HTTP request sent, awaiting response... 302 Found

我不得不重新启动docker容器,但重新启动不应该删除.kibana数据吗?:(

标签: elasticsearchkibana

解决方案


推荐阅读