time-based 配置索引模式时不起作用
time-based when configure an index pattern not working
嗨!
我在配置索引模式时遇到有关将日期字段设置为 time-based
的问题。当我选择在时间字段名称上归档的日期时,我无法将 Discover
部分的任何数据可视化。
但是,当我取消选中名为 Index contains time-based events
的框时,将显示所有数据:
也许我在映射过程中忘记了什么?我为此索引设置了映射:
"index_test" : {
"mappings": {
"tr": {
"_source": {
"enabled":true
},
"properties" : {
"id" : { "type" : "integer" },
"volume" : { "type" : "integer" },
"high" : { "type" : "float" },
"low" : { "type" : "float" },
"timestamp" : { "type" : "date", "format" : "yyyy-MM-dd HH:mm:ss" }
}
}
}'
}
我目前也在尝试使用timelion
,但似乎没有找到任何数据可以显示。我认为它不能因为这个 time-based
未经检查...关于如何将此时间戳设置为 time-based
而不松散 Discover
部分的数据访问的任何想法?
简单的问题和简单的答案...我只是忘了在发现部分的右上角设置时间选择器来显示过去的数据:
嗨!
我在配置索引模式时遇到有关将日期字段设置为 time-based
的问题。当我选择在时间字段名称上归档的日期时,我无法将 Discover
部分的任何数据可视化。
但是,当我取消选中名为 Index contains time-based events
的框时,将显示所有数据:
也许我在映射过程中忘记了什么?我为此索引设置了映射:
"index_test" : {
"mappings": {
"tr": {
"_source": {
"enabled":true
},
"properties" : {
"id" : { "type" : "integer" },
"volume" : { "type" : "integer" },
"high" : { "type" : "float" },
"low" : { "type" : "float" },
"timestamp" : { "type" : "date", "format" : "yyyy-MM-dd HH:mm:ss" }
}
}
}'
}
我目前也在尝试使用timelion
,但似乎没有找到任何数据可以显示。我认为它不能因为这个 time-based
未经检查...关于如何将此时间戳设置为 time-based
而不松散 Discover
部分的数据访问的任何想法?
简单的问题和简单的答案...我只是忘了在发现部分的右上角设置时间选择器来显示过去的数据: