host_linux: Skip everything that isn't a normal process.
host_darwin does the same filtering. Not doing this gives us some rather strange entries that likely aren't what we want. Before: {"user":"reboot","terminal":"~","host":"3.10.0-327.4.5.el7.x86_64","started":1454378260} {"user":"LOGIN","terminal":"ttyS0","host":"","started":1454378270} {"user":"LOGIN","terminal":"tty1","host":"","started":1454378270} {"user":"runlevel","terminal":"~","host":"3.10.0-327.4.5.el7.x86_64","started":1454378276} {"user":"root","terminal":"pts/0","host":"vpn","started":1454404513} After: {"user":"root","terminal":"pts/0","host":"vpn","started":1454404513}
Showing
想要评论请 注册 或 登录