{
"order": 0,
"template": "test2log*",
"settings": {
"index": {
"number_of_shards": "10"
}
},
"mappings": {
"_default_": {
"_source": {
"enabled": true
},
"properties": {
"requestTime": {
"type": "long"
},
"detailAddress": {
"index": "not_analyzed",
"type": "string"
},
"ip": {
"index": "not_analyzed",
"type": "string"
},
"eventId": {
"index": "not_analyzed",
"type": "string"
},
"hit": {
"type": "integer"
},
"mainBody": {
"index": "not_analyzed",
"type": "string"
},
"ruleId": {
"index": "not_analyzed",
"type": "string"
}
}
},
"E_CSC01":{
"properties": {
"hit_similar_dimension":{
"properties":{
"brand":{
"index": "not_analyzed",
"type": "string"
}
}
}
}
}
},
"aliases": {}
}
_default_,默认隐射,用作每个新隐射类型的基础映射。
E_CSC01隐射从_default_映射中继承了设置。