/
index-template-request.ftl
124 lines (124 loc) · 3.78 KB
/
index-template-request.ftl
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
123
124
{
"settings": {
"index.number_of_shards": $ {
numberOfShards
},
"index.number_of_replicas": $ {
numberOfReplicas
},
"index.refresh_interval": "${refreshInterval}"
},
"template": "${indexName}-*",
"mappings": {
"request": {
"properties": {
"@timestamp": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"api": {
"index": "not_analyzed",
"type": "string"
},
"api-key": {
"index": "not_analyzed",
"type": "string"
},
"api-response-time": {
"type": "integer"
},
"application": {
"index": "not_analyzed",
"type": "string"
},
"client-request-headers": {
"enabled": false,
"type": "object"
},
"client-response-headers": {
"enabled": false,
"type": "object"
},
"endpoint": {
"index": "not_analyzed",
"type": "string"
},
"gateway": {
"index": "not_analyzed",
"type": "string"
},
"hostname": {
"index": "not_analyzed",
"type": "string"
},
"local-address": {
"index": "not_analyzed",
"type": "string"
},
"method": {
"index": "not_analyzed",
"type": "string"
},
"plan": {
"index": "not_analyzed",
"type": "string"
},
"proxy-latency": {
"type": "integer"
},
"proxy-request-headers": {
"enabled": false,
"type": "object"
},
"proxy-response-headers": {
"enabled": false,
"type": "object"
},
"remote-address": {
"index": "not_analyzed",
"type": "string"
},
"request-content-length": {
"type": "integer"
},
"response-content-length": {
"type": "integer"
},
"response-time": {
"type": "integer"
},
"status": {
"type": "short"
},
"subscription": {
"index": "not_analyzed",
"type": "string"
},
"tenant": {
"index": "not_analyzed",
"type": "string"
},
"transaction": {
"index": "not_analyzed",
"type": "string"
},
"uri": {
"index": "not_analyzed",
"type": "string"
},
"user": {
"index": "not_analyzed",
"type": "string"
},
"path": {
"index": "not_analyzed",
"type": "string"
},
"mapped-path": {
"index": "not_analyzed",
"type": "string"
}
}
}
}
}