[kata-dev] Utility in the agent look for something in the syslog

bin liu liubin0329 at gmail.com
Tue Sep 8 10:36:43 UTC 2020


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 at 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 at lists.katacontainers.io
> http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katacontainers.io/pipermail/kata-dev/attachments/20200908/0cb3e7c8/attachment.html>


More information about the kata-dev mailing list