Kibana 时间未以正确格式显示
Kibana time is not showing in proper format
Kibana 在这里没有显示正确的时间我有时间喜欢
2020-11-13T18:59:59.999Z
但它在 Kibana 仪表板屏幕截图中看起来像这样,以获取更多详细信息
Nov 13, 2020 @ 00:00:00.00
检查字段地图的日期格式设置。
https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html
我不确定问题到底是什么:
a) 显示的日期格式 yyyy-MM-dd HH:mm:ss
与 MMM dd, yyyy @ HH:mm:ss.SS
b) 时间差 18:59:59
与 00:00:00
如果 a) 是 Kibana 中的问题,您可以 select 在 堆栈管理 > Kibana 高级设置 > 日期格式
中显示的日期格式
如果 b) 是问题,请注意时区:Elasticsearch 以 UTC 格式存储所有时间戳。在 Elasticsearch(例如 Logstash)中存储时,您必须指定数据的时区。 Kibana 根据 堆栈管理 > Kibana 高级设置 > 日期格式化时区 中指定的(用户)时区显示时间戳。
另见此处:https://discuss.elastic.co/t/kibana-timezone/29270 and here: https://discuss.elastic.co/t/timezone-problem-in-elasticsearch-and-logstash/180163
Kibana 在这里没有显示正确的时间我有时间喜欢
2020-11-13T18:59:59.999Z
但它在 Kibana 仪表板屏幕截图中看起来像这样,以获取更多详细信息
Nov 13, 2020 @ 00:00:00.00
检查字段地图的日期格式设置。
https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html
我不确定问题到底是什么:
a) 显示的日期格式 yyyy-MM-dd HH:mm:ss
与 MMM dd, yyyy @ HH:mm:ss.SS
b) 时间差 18:59:59
与 00:00:00
如果 a) 是 Kibana 中的问题,您可以 select 在 堆栈管理 > Kibana 高级设置 > 日期格式
中显示的日期格式如果 b) 是问题,请注意时区:Elasticsearch 以 UTC 格式存储所有时间戳。在 Elasticsearch(例如 Logstash)中存储时,您必须指定数据的时区。 Kibana 根据 堆栈管理 > Kibana 高级设置 > 日期格式化时区 中指定的(用户)时区显示时间戳。 另见此处:https://discuss.elastic.co/t/kibana-timezone/29270 and here: https://discuss.elastic.co/t/timezone-problem-in-elasticsearch-and-logstash/180163