This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kusabana_log_template.json
84 lines (84 loc) · 3.51 KB
/
kusabana_log_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
{
"template": "kusabana-log*",
"settings": {
"number_of_shards": 5,
"number_of_replicas": 1
},
"mappings": {
"_default_": {
"_source": { "compress": true },
"dynamic_templates": [
{
"string_template": {
"match": "*",
"mapping": { "type": "string", "index": "not_analyzed" },
"match_mapping_type": "string"
}
}
]
},
"res": {
"properties": {
"@timestamp": { "type": "date", "index": "not_analyzed" },
"match": { "type": "boolean", "index": "not_analyzed" },
"method": { "type": "string", "index": "not_analyzed" },
"path": {
"type": "multi_field",
"fields": {
"analyzed": {"type":"string", "index": "analyzed"},
"no_analyzed": {"type":"string", "index": "not_analyzed"}
}
},
"orig_query": {
"type": "multi_field",
"fields": {
"analyzed": {"type":"string", "index": "analyzed"},
"no_analyzed": {"type":"string", "index": "not_analyzed"}
}
},
"mod_query": {
"type": "multi_field",
"fields": {
"analyzed": {"type":"string", "index": "analyzed"},
"no_analyzed": {"type":"string", "index": "not_analyzed"}
}
},
"session": { "type": "string", "index": "not_analyzed" }
}
},
"req": {
"properties": {
"@timestamp": { "type": "date", "index": "not_analyzed" },
"cache": {"type": "string", "index": "not_analyzed"},
"expire": {"type": "integer", "index": "not_analyzed"},
"key": {"type": "string", "index": "not_analyzed"},
"method": {"type": "string", "index": "not_analyzed"},
"path": {
"type": "multi_field",
"fields": {
"analyzed": {"type":"string", "index": "analyzed"},
"no_analyzed": {"type":"string", "index": "not_analyzed"}
}
},
"session": {"type": "string", "index": "not_analyzed"},
"status": {"type": "string", "index": "not_analyzed"},
"took": {"type": "float", "index": "not_analyzed"}
}
},
"stat": {
"properties": {
"@timestamp": { "type": "date", "index": "not_analyzed" },
"took": {"type": "float", "index": "not_analyzed"},
"count": {"type": "integer", "index": "not_analyzed"},
"efficiency": {"type": "float", "index": "not_analyzed"},
"expire": {"type": "integer", "index": "not_analyzed"},
"from": {"type": "date", "index": "not_analyzed"},
"key": {"type": "string", "index": "not_analyzed"},
"max": {"type": "float", "index": "not_analyzed"},
"min": {"type": "float", "index": "not_analyzed"},
"sum": {"type": "float", "index": "not_analyzed"},
"to": {"type": "date", "index": "not_analyzed"}
}
}
}
}