utmptail:将utmp文件作为JSON发出

时间:2021-05-13 10:44:55
【文件属性】:
文件名称:utmptail:将utmp文件作为JSON发出
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-13 10:44:55
Go 尾巴 utmptail读取/var/log/{b,u,w}tmp文件,并将每一行作为JSON发出。 这对于将* tmp日志发送到解析键/值日志的日志记录服务很有用 用法 utmptail reads in a login record formatted fileand emits each record as a JSON to a new line. On most systems these logs are located at /var/log/{btmp, utmp, wtmp}. See utmp(5) for more information on login record files. Usage of ./utmptail: The file to read in. (default "/dev/stdin") -versi
【文件预览】:
utmptail-master
----.travis.yml(272B)
----utmp()
--------structs.go(4KB)
--------structs_test.go(2KB)
----main_test.go(284B)
----Dockerfile(612B)
----LICENSE(1KB)
----main.go(1KB)
----.gitignore(387B)
----README.md(2KB)

网友评论