{ "_meta": { "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-dns.html", "ecs_version": "1.12.2" }, "template": { "mappings": { "properties": { "dns": { "properties": { "answers": { "properties": { "class": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "data": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "name": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "ttl": { "type": "long" }, "type": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } } }, "type": "object" }, "header_flags": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "id": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "op_code": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "question": { "properties": { "class": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "name": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "registered_domain": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "subdomain": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "top_level_domain": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "type": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } } } }, "resolved_ip": { "type": "ip" }, "response_code": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } }, "type": { "ignore_above": 1024, "type": "keyword", "fields": { "text": { "type": "match_only_text" } } } } } } } } }