Hello
I being created template to increase performance of indexing (and gain of space).
Where i can put not analyze string type ? (text & keyword from ES 5.x). The best will be not analyze all text field i think.
So, maybe I don't need metafield as source, score, beats info ? ... where i can delete few of them ?
{
"order": 0,
"version": 50001,
"template": "ta-test-edr",
"settings": {
"index": {
"number_of_replicas": 0,
"number_of_shards" : 1,
"refresh_interval": "-1"
}
},
"mappings": {
"_default_": {
"dynamic_templates": [
{
"string_fields": {
"mapping": {
"norms": false,
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"match_mapping_type": "string",
"match": "*"
}
}
],
"_all": {
"norms": false,
"enabled": true
},
"properties": {
"@timestamp": {
"include_in_all": false,
"type": "date"
},
"geoip": {
"dynamic": true,
"properties": {
"ip": {
"type": "ip"
},
"latitude": {
"type": "half_float"
},
"location": {
"type": "geo_point"
},
"longitude": {
"type": "half_float"
}
}
},
"@version": {
"include_in_all": false,
"type": "keyword"
}
}
}
},
"aliases": {}
}