-
Notifications
You must be signed in to change notification settings - Fork 4
/
iis-es-mapping-template.json
122 lines (122 loc) · 2.43 KB
/
iis-es-mapping-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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"order": 0,
"template": "log_iis-*",
"settings": {
"index": {
"mapping": {
"ignore_malformed": "true"
},
"refresh_interval": "5s",
"unassigned": {
"node_left": {
"delayed_timeout": "3m"
}
},
"number_of_shards": "1",
"number_of_replicas": "1"
}
},
"mappings": {
"iis": {
"_all": {
"enabled": false
},
"dynamic_templates": [
{
"string_fields": {
"mapping": {
"ignore_above": 32000,
"norms": false,
"type": "keyword"
},
"match_mapping_type": "string"
}
}
],
"properties": {
"bytes_toclient": {
"type": "long"
}
"http_substatus": {
"type": "short"
},
"src_ip_geoip": {
"dynamic": true,
"type": "object",
"properties": {
"location": {
"type": "geo_point"
}
}
},
"dst_ip_geoip": {
"dynamic": true,
"type": "object",
"properties": {
"location": {
"type": "geo_point"
}
}
},
"dst_name": {
"type": "keyword"
},
"dst_ip": {
"type": "ip"
},
"bytes_toserver": {
"type": "long"
},
"src_ip": {
"type": "ip"
},
"http_agent": {
"properties": {
"major": {
"type": "integer"
},
"minor": {
"type": "integer"
},
"os_minor": {
"type": "integer"
},
"os_major": {
"type": "integer"
}
}
},
"path": {
"type": "keyword",
"fields": {
"text": {
"type": "text"
}
}
},
"all_fields": {
"type": "text"
},
"hostname": {
"type": "keyword"
},
"http_win32_status": {
"type": "long"
},
"dst_port": {
"type": "integer"
},
"http_status": {
"type": "short"
},
"response_time": {
"type": "long"
},
"gmt_time": {
"index": false,
"type": "keyword"
}
}
}
}
}