-
Notifications
You must be signed in to change notification settings - Fork 116
/
nginx-status-config.json
45 lines (45 loc) · 1.08 KB
/
nginx-status-config.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
{
"configName": "nginx-status-config",
"inputDetail": {
"plugin": {
"inputs": [
{
"detail": {
"Addresses": [
"http://**********/****"
],
"IncludeBody": true,
"IntervalMs": 10000
},
"type": "metric_http"
}
],
"processors": [
{
"detail": {
"FullMatch": true,
"KeepSource": false,
"Keys": [
"connection",
"accepts",
"handled",
"requests",
"reading",
"writing",
"waiting"
],
"NoKeyError": true,
"NoMatchError": true,
"Regex": "Active connections: (\\d+)\\s+server accepts handled requests\\s+(\\d+)\\s+(\\d+)\\s+(\\d+)\\s+Reading: (\\d+) Writing: (\\d+) Waiting: (\\d+)[\\s\\S]*",
"SourceKey": "content"
},
"type": "processor_regex"
}
]
}
},
"inputType": "plugin",
"outputDetail": {
"logstoreName": "logstore"
}
}