问题描述
我是使用 AWS WAF、AWS Elasticsearch 的初学者。
我想将 AWS WAF 日志时间戳类型从 long(number) 类型更改为 date 类型。
由于长类型时间戳在 Kibana 可视化和仪表板时间过滤中不起作用。
但是,我刚刚收到这条消息。
我该如何解决这个问题?
非常感谢。
解决方法
您会显示原始索引查询吗?通过尝试修复此问题,您可能想尝试 reindex
。
用法:
POST _reindex
{
"source": {
"index": "test-timestamps"
},"dest": {
"index": "test-timestamps-2"
}
}