Disallow dynamic mapping
Added config mapping Original commit: elastic/x-pack-elasticsearch@f3de2c17bd
This commit is contained in:
parent
c97e083a59
commit
45e5c13369
|
@ -4,7 +4,8 @@
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.number_of_shards": 1,
|
"index.number_of_shards": 1,
|
||||||
"index.number_of_replicas": 1,
|
"index.number_of_replicas": 1,
|
||||||
"index.alerts.template_version": 1
|
"index.alerts.template_version": 1,
|
||||||
|
"index.mapper.dynamic" : false
|
||||||
},
|
},
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"alerthistory": {
|
"alerthistory": {
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.number_of_shards": 1,
|
"index.number_of_shards": 1,
|
||||||
"index.number_of_replicas": 1,
|
"index.number_of_replicas": 1,
|
||||||
"index.alerts.template_version": 1
|
"index.alerts.template_version": 1,
|
||||||
|
"index.mapper.dynamic" : false
|
||||||
},
|
},
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"alert": {
|
"alert": {
|
||||||
|
@ -26,7 +27,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ack_state" : {
|
"ack_state" : {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"trigger": {
|
"trigger": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -53,6 +54,10 @@
|
||||||
"dynamic": true
|
"dynamic": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"enabled" : false,
|
||||||
|
"properties" : {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue