tpotce/docker/elk/logstash/dist/tpot-template.json

98 lines
2.1 KiB
JSON
Raw Normal View History

2022-02-16 02:55:20 +00:00
{
"template": {
"settings": {
"index": {
"lifecycle": {
"name": "tpot"
},
"mapping": {
"total_fields": {
"limit": "2000"
}
},
2022-02-18 19:55:31 +00:00
"refresh_interval": "1s",
2022-02-16 02:55:20 +00:00
"number_of_shards": "1",
"number_of_replicas": "0",
"query": {
"default_field": "*"
}
}
},
"mappings": {
2022-02-20 16:38:15 +00:00
"_source": {
"excludes": [],
"includes": [],
"enabled": true
},
"_routing": {
"required": false
},
"dynamic": true,
"numeric_detection": false,
"date_detection": true,
2022-02-16 02:55:20 +00:00
"dynamic_date_formats": [
"strict_date_optional_time",
"yyyy/MM/dd HH:mm:ss Z||yyyy/MM/dd Z"
],
"dynamic_templates": [
{
"message_field": {
"path_match": "message",
"mapping": {
"norms": false,
"type": "text"
2022-02-20 16:38:15 +00:00
},
"match_mapping_type": "string"
2022-02-16 02:55:20 +00:00
}
},
{
"string_fields": {
"mapping": {
2022-02-20 16:38:15 +00:00
"norms": false,
2022-02-16 02:55:20 +00:00
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
},
"type": "text"
2022-02-20 16:38:15 +00:00
},
"match_mapping_type": "string",
"match": "*"
2022-02-16 02:55:20 +00:00
}
}
],
"properties": {
2022-02-20 16:38:15 +00:00
"geoip.ip": {
"type": "ip"
2022-02-16 02:55:20 +00:00
},
2022-02-20 16:38:15 +00:00
"geoip.latitude": {
"type": "half_float"
},
"geoip.location": {
"type": "geo_point"
},
"geoip.longitude": {
"type": "half_float"
},
"geoip_ext.ip": {
"type": "ip"
},
"geoip_ext.latitude": {
"type": "half_float"
},
"geoip_ext.location": {
"type": "geo_point"
},
"geoip_ext.longitude": {
"type": "half_float"
2022-02-16 02:55:20 +00:00
}
}
2022-02-20 16:38:15 +00:00
}
},
"index_patterns": [
"logstash-*"
],
"composed_of": []
2022-02-16 02:55:20 +00:00
}