问题描述
#索引mappings
{
"mappings": {
"properties": {
"datetime": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
}
}
}
}
通过elasticsearch/elasticsearch向elasticsearch添加数据
{
"datetime": "2022-02-28 12:26:30"
}
通过kibana看...