当Kibana意外地为索引模式更改timeFieldName时,我们遇到了问题。据我们所知,没有人改变它。 但: 是:
-bash-4.1$ curl "http://localhost:9200/.kibana/index-pattern/logstash-*?pretty"
{
"_index" : ".kibana",
"_type" : "index-pattern",
"_id" : "logstash-*",
"_version" : 2277,
"found" : true,
"_source" : {
"title" : "logstash-*",
"timeFieldName" : "@timestamp",
"fields" : "<some>"
}
}
过了一段时间:
-bash-4.1$ curl "http://localhost:9200/.kibana/index-pattern/logstash-*?pretty"
{
"_index" : ".kibana",
"_type" : "index-pattern",
"_id" : "logstash-*",
"_version" : 2283,
"found" : true,
"_source" : {
"title" : "logstash-*",
"timeFieldName" : "received_at",
所以问题是 - 什么可能导致这种变化?或者如何检测它? 谢谢你的建议。