1、在Kibana创建索引的时候报错,使用的elasticsearch版本是7.2.1版本。
1 PUT /person
2 {
3 "settings": {
4 "number_of_shards": "10",
5 "number_of_replicas": "0",
6 "refresh_interval": "-1"
7 },
8 "mappings": {
9 "properties": {
10 "update_time": {
11 "format": "yyyy-MM-dd HH:mm:ss",
12 "type": "date"
13 },
14 "username": {
15 "type": "keyword"
16 },
17 "address": {
18 "type": "keyword"
19 }
20 }
21 }
22 }
报错,如下所示:
1 {
2 "error": {
3 "root_cause": [{
4