mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-16 13:11:23 +01:00
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"template": {
|
|
"mappings": {
|
|
"dynamic_templates": [
|
|
{
|
|
"ip_address": {
|
|
"path_match": "*.ip",
|
|
"mapping": {
|
|
"type": "ip",
|
|
"fields": {
|
|
"keyword": {
|
|
"ignore_above": 45,
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"match_mapping_type": "string"
|
|
}
|
|
},
|
|
{
|
|
"port": {
|
|
"path_match": "*.port",
|
|
"path_unmatch": "*.data.port",
|
|
"mapping": {
|
|
"type": "integer",
|
|
"fields": {
|
|
"keyword": {
|
|
"ignore_above": 6,
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"strings": {
|
|
"mapping": {
|
|
"type": "text",
|
|
"fields": {
|
|
"text": {
|
|
"type": "match_only_text"
|
|
},
|
|
"keyword": {
|
|
"ignore_above": 32765,
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"match_mapping_type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|