This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsns-monitor.template.json
66 lines (66 loc) · 2.34 KB
/
sns-monitor.template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"index_patterns": "stormshield-sns-monitor-*",
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 0,
"index.refresh_interval": "30s"
},
"mappings": {
"_doc": {
"dynamic_templates": [
{
"interfaces_name": {
"match_pattern": "regex",
"path_match": "[Agg|Ethernet|ipsec|Qid|sslvpn|Vlan|Wifi|Wlan|wldev].*\\.name",
"mapping": {"type": "keyword"}
}
},
{
"interfaces_gress": {
"match_mapping_type": "long",
"match_pattern": "regex",
"path_match": "[Agg|Ethernet|ipsec|Qid|sslvpn|Vlan|Wifi|Wlan|wldev].*\\.(?:in|e)gress.*",
"mapping": {"type": "long"}
}
},
{
"interfaces_packet": {
"match_mapping_type": "long",
"match_pattern": "regex",
"path_match": "[Agg|Ethernet|ipsec|Qid|sslvpn|Vlan|Wifi|Wlan|wldev].*\\.packet.*",
"mapping": {"type": "long"}
}
}
],
"properties": {
"CPU": {"type": "keyword"},
"CPU_Interrupt": {"type": "long"},
"CPU_Kernel": {"type": "long"},
"CPU_Userland": {"type": "long"},
"datechange": {"type": "long"},
"duration": {"type": "double"},
"fw": {"type": "keyword"},
"internal_product": {"type": "keyword"},
"logtype": {"type": "keyword"},
"Pvm": {"type": "object", "properties": {
"vuln_total": {"type": "long"},
"vuln_remote": {"type": "long"},
"vuln_server": {"type": "long"},
"vuln_crit": {"type": "long"},
"vuln_minor": {"type": "long"},
"vul_major": {"type": "long"},
"vuln_with_fix": {"type": "long"},
"info_total": {"type": "long"},
"info_minor": {"type": "long"},
"info_major": {"type": "long"},
"info_host": {"type": "long"}
}},
"security": {"type": "long"},
"startime": {"type": "keyword"},
"system": {"type": "long"},
"type": {"type": "keyword"},
"tz": {"type": "keyword"}
}
}
}
}