Fix EG template and mappings

This commit is contained in:
Wes Lambert
2022-02-04 16:00:16 +00:00
parent 1af63edc6b
commit f3902cf77d
2 changed files with 56 additions and 2 deletions

View File

@@ -0,0 +1,53 @@
{
"template": {
"mappings": {
"properties": {
"endgame": {
"dynamic": false,
"properties": {
"data": {
"properties": {
"malware_classification": {
"properties": {
"identifier": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"quarantine_result": {
"properties": {
"local_msg": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
},
"event_subtype_full": {
"ignore_above": 1024,
"type": "keyword"
},
"event_type_full": {
"ignore_above": 1024,
"type": "keyword"
},
"metadata": {
"properties": {
"type": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
},
"type": "object"
}
}
}
},
"_meta": {
"ecs_version": "1.12.2"
}
}

View File

@@ -6,7 +6,7 @@
{%- set FIELD_LIMIT = salt['pillar.get']('elasticsearch:index_settings:so-endgame:field_limit', 3000) %} {%- set FIELD_LIMIT = salt['pillar.get']('elasticsearch:index_settings:so-endgame:field_limit', 3000) %}
{ {
"index_patterns": [ "index_patterns": [
"so-endgame*" "endgame*"
], ],
"template": { "template": {
"mappings": { "mappings": {
@@ -55,6 +55,7 @@
"dtc-dns-mappings", "dtc-dns-mappings",
"ecs-mappings", "ecs-mappings",
"dtc-ecs-mappings", "dtc-ecs-mappings",
"endgame-mappings",
"error-mappings", "error-mappings",
"event-mappings", "event-mappings",
"dtc-event-mappings", "dtc-event-mappings",