elasticsearch - 我丢失了 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
数据吗?:(
解决方案
推荐阅读
- windows - Windows CMD 解析
- java - 求解涉及大整数的方程
- equality - 我们可以在没有模式匹配的情况下推导出 Agda 中相等/身份证明的唯一性(仅使用 J & K)吗?
- ringcentral - 如何使用 RingCentral 一次从多个呼叫队列中添加和删除用户?
- asp.net-core - 登录后无法使用 Controller.User
- javascript - 如果将命名函数声明放在 return 语句中,为什么不提升它?
- javascript - html5视频结束时淡入元素
- c - C中的字符常量和初始化
- python - Python:如果列表同时包含数字和字符串,如何排序?
- c# - 挂起 HtmlAgilityPack 任务