我试图用日期字段填充面积图。
它在kibana不起作用,当我使用elasticsearch查询时,它在那里起作用。
它在ElasticSearch查询中工作。
我的地图如下:
PUT test1
{
"settings": {
"index.mapping.ignore_malformed": true
},
"mappings": {
"each_file": {
"properties": {
"Size": {"type": "integer","ignore_malformed": false },
"Path ID": {"type": "integer","ignore_malformed": false },
"Family Item Number": {"type": "integer","ignore_malformed": false },
"Creation Time": {"type": "date", "format": "E dd MMM yyyy HH:mm:ss a z"},
"Document Creation Time": {"type": "date", "format": "E dd MMM yyyy HH:mm:ss a z"},
"Document Modification Time": {"type": "date", "format": "E dd MMM yyyy HH:mm:ss a z"},
"Email Received Time": {"type": "date", "format": "E dd MMM yyyy HH:mm:ss a z"},
"Email Sent Time": {"type": "date", "format": "E dd MMM yyyy HH:mm:ss a z"},
"Modification Time": {"type": "date", "format": "E dd MMM yyyy HH:mm:ss a z"}
}
}
}
}
我的日期格式:文件创建时间:2001年11月2日星期五上午06:28:37
我们将不胜感激。
提前谢谢。