Hello!
I have field mappings for an index like
{ "index_patterns": ["logstash-iis2-*"],
"version":100,
"settings":{
"number_of_replicas":0,
"number_of_shards":1,
"index.refresh_interval":"30s"
},
"mappings":{
"doc":{
"dynamic": false,
"date_detection": false,
"properties":{
"@timestamp":{
"type":"date"
},
"@version":{
"type":"keyword"
},
"date":{
"type":"date",
"format": "yyyy-MM-dd"
},
"time":{
"type":"date",
"format": "HH:mm:ss"
},
"server-ip":{
"type":"ip",
"fields":{
"keyword":{
"type":"keyword"
}
}
}, ...
and get a mapping without the correct number of replicas (1 instead of 0) and also the actual field types do not match my mapping configuration, for example
"server-ip": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, ...
What's wrong here? Thanks in advance!
Cheers, Ben