forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 8
/
doc.go
40 lines (39 loc) · 829 Bytes
/
doc.go
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
/*
Package process collects metrics about the running processes using information
from the operating system.
An example event looks as following:
{
"@timestamp": "2016-05-25T20:57:51.854Z",
"beat": {
"hostname": "host.example.com",
"name": "host.example.com"
},
"metricset": {
"module": "system",
"name": "process",
"rtt": 12269
},
"system": {
"process": {
"cmdline": "/System/Library/CoreServices/ReportCrash",
"cpu": {
"start_time": "22:57",
"total_p": 0
},
"mem": {
"rss": 27123712,
"rss_pct": 0.0016,
"share": 0,
"size": 2577522688
},
"name": "ReportCrash",
"pid": 97801,
"ppid": 1,
"state": "running",
"username": "elastic"
}
},
"type": "metricsets"
}
*/
package process