<div dir="ltr">Hi Christophe<div><br></div><div>I wrote a simple tool ( <a href="https://github.com/liubin/vmconsole">https://github.com/liubin/vmconsole</a> ) some days before, based the idea from log parser of Kata-containers.</div><div><br></div><div>It parse logs from journald and only parse the guest log(with field named vmconsole)</div><div><br></div><div>If running `vmconsole` without arguments, it will read and parse journald realtime.</div><div><br></div><div>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.</div><div><br></div><div>Holp it will be helpful.</div><div><br></div><div> </div><div>BRs</div><div><br></div><div>bin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020年9月8日(火) 17:19 Christophe de Dinechin <<a href="mailto:cdupontd@redhat.com">cdupontd@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there any facility in the agent that allows looking for something<br>
in the kernel log / syslog today?<br>
<br>
<br>
Thanks<br>
Christophe<br>
<br>
<br>
_______________________________________________<br>
kata-dev mailing list<br>
<a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">kata-dev@lists.katacontainers.io</a><br>
<a href="http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev" rel="noreferrer" target="_blank">http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev</a><br>
</blockquote></div>