-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathes_template_accounting.json
74 lines (74 loc) · 1.33 KB
/
es_template_accounting.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
{
"version": 1,
"index_patterns": ["ngx_accounting-*"],
"settings": {
"index": {
"refresh_interval": "5s"
}
},
"mappings": {
"dynamic_templates": [
{
"accounting_status_fields": {
"path_match": "@nr_status.*",
"mapping": {
"type": "integer"
}
}
},
{
"accounting_aggregate_status_fields": {
"path_match": "@agg_status.*",
"mapping": {
"type": "integer"
}
}
}
],
"properties": {
"type": {
"type": "keyword"
},
"@timestamp": {
"type": "date"
},
"@from": {
"type": "date"
},
"@to": {
"type": "date"
},
"accounting_id": {
"type": "keyword"
},
"entry_type": {
"type": "keyword"
},
"nr_entries": {
"type": "integer"
},
"nr_open_entries": {
"type": "integer"
},
"nr_close_entries": {
"type": "integer"
},
"in_bytes": {
"type": "integer"
},
"out_bytes": {
"type": "integer"
},
"latency_ms": {
"type": "integer"
},
"upstream_latency_ms": {
"type": "integer"
},
"message": {
"type": "text"
}
}
},
"aliases": {}
}