Utility in the agent look for something in the syslog
Is there any facility in the agent that allows looking for something in the kernel log / syslog today?
Thanks Christophe
Hi Christophe
I wrote a simple tool ( https://github.com/liubin/vmconsole ) some days before, based the idea from log parser of Kata-containers.
It parse logs from journald and only parse the guest log(with field named vmconsole)
If running `vmconsole` without arguments, it will read and parse journald realtime.
Also you can get logs by `sudo journalctl --no-pager -S "2020-09-03 20:07:48" -U "2020-09-03 20:12:58" > abc.txt && voconsole abc.txt` to parse logs ago.
Holp it will be helpful.
BRs
bin
2020年9月8日(火) 17:19 Christophe de Dinechin cdupontd@redhat.com:
Is there any facility in the agent that allows looking for something in the kernel log / syslog today?
Thanks Christophe
kata-dev mailing list kata-dev@lists.katacontainers.io http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
participants (2)
-
bin liu
-
Christophe de Dinechin