Merge pull request #382 from Phrozyn/master

Re-org of default dynamic template
This commit is contained in:
Jeff Bryner 2016-10-30 14:13:32 -07:00 коммит произвёл GitHub
Родитель 73a685e3d2 7c6767450d
Коммит 886a53d146
1 изменённых файлов: 60 добавлений и 61 удалений

Просмотреть файл

@ -1,63 +1,62 @@
{
"mappings": {
"_default_": {
"_all": {
"enabled": true
},
"properties": {
"receivedtimestamp": {
"type": "date",
"format": "dateOptionalTime"
},
"details": {
"properties": {
"destinationipaddress": {
"type": "ip"
},
"success": {
"type": "boolean"
},
"sourceport": {
"index": "not_analyzed",
"type": "long"
},
"destinationport": {
"index": "not_analyzed",
"type": "long"
},
"srcip": {
"type": "ip"
},
"sourceipaddress": {
"type": "ip"
}
}
},
"utctimestamp": {
"type": "date",
"format": "dateOptionalTime"
},
"summary": {
"type": "string"
}
},
"dynamic_templates": [
{
"string_fields": {
"match_mapping_type": "*",
"mapping": {
"index": "not_analyzed",
"type": "string",
"doc_values": true
},
"match": "*"
}
}
]
"order" : 0,
"template" : "*",
"settings" : { },
"mappings" : {
"_default_" : {
"dynamic_templates" : [ {
"string_fields" : {
"mapping" : {
"index" : "not_analyzed",
"type" : "string",
"doc_values" : true
},
"match_mapping_type" : "*",
"match" : "*"
}
} ],
"_all" : {
"enabled" : true
},
"properties" : {
"summary" : {
"type" : "string"
},
"utctimestamp" : {
"format" : "dateOptionalTime",
"type" : "date"
},
"receivedtimestamp" : {
"format" : "dateOptionalTime",
"type" : "date"
},
"details" : {
"properties" : {
"sourceport" : {
"index" : "not_analyzed",
"type" : "long"
},
"destinationport" : {
"index" : "not_analyzed",
"type" : "long"
},
"srcip" : {
"type" : "ip"
},
"sourceipaddress" : {
"type" : "ip"
},
"success" : {
"type" : "boolean"
},
"destinationipaddress" : {
"type" : "ip"
}
}
}
}
},
"aliases": {},
"order": 0,
"template": "*",
"settings": {}
}
}
},
"aliases" : { }
}
}