/
alp.yml
52 lines (50 loc) · 1.52 KB
/
alp.yml
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
---
file: /var/log/nginx/access.log # string
sort: sum # max|min|avg|sum|count|uri|method|max-body|min-body|avg-body|sum-body|p1|p50|p99|stddev
reverse: true # boolean
query_string: # boolean
format: # string
limit: # 5000
noheaders: # boolean
show_footers: # boolean
matching_groups: # array
- '/api/user/.+/theme'
- '/api/user/.+/statistics'
- '/api/user/.+/icon'
- '/api/user/.+'
- '/api/livestream/[^/]+/livecomment/[^/]+/report'
- '/api/livestream/[^/]+/livecomment'
- '/api/livestream/[^/]+/reaction'
- '/api/livestream/[^/]+/report'
- '/api/livestream/[^/]+/ngwords'
- '/api/livestream/[^/]+/moderate'
- '/api/livestream/[^/]+/enter'
- '/api/livestream/[^/]+/exit'
- '/api/livestream/[^/]+/statistics'
- '/api/livestream/[^/]+'
filters: # string
output: count,2xx,3xx,4xx,5xx,method,uri,min,p99,max,sum # string(comma separated)
pos_file: # string
nosave_pos: # boolean
ltsv:
apptime_label: # apptime
status_label: # status code
size_label: # size
method_label: # method
uri_label: # uri
time_label: # time
json:
uri_key: # string
method_key: # string
time_key: # string
response_time_key: # string
body_bytes_key: # string
status_key: # string
regexp:
pattern: # string
uri_subexp: # string
method_subexp: # string
time_subexp: # string
response_time_subexp: # string
body_bytes_subexp: # string
status_subexp: # string