[ovirt-devel] oVirt log analyzer

Milan Zamazal mzamazal at redhat.com
Tue Apr 3 09:48:32 UTC 2018


Yaniv Kaul <ykaul at redhat.com> writes:

> On Thu, Mar 29, 2018 at 9:11 PM, Tomas Jelinek <tjelinek at redhat.com> wrote:
>
>>
>>
>> On Thu, Mar 29, 2018 at 7:55 PM, Greg Sheremeta <gshereme at redhat.com>
>> wrote:
>>
>>> Nice! I think a nice RFE would be to surface this info in the UI.
>>>
>>> On Thu, Mar 29, 2018 at 8:30 AM, Milan Zamazal <mzamazal at redhat.com>
>>> wrote:
>>>
>>>> Hi, during last year Outreachy internship a tool for analyzing oVirt
>>>> logs was created.  When it is provided with oVirt logs (such as SOS
>>>> reports, logs gathered by Lago, single or multiple log files) it tries
>>>> to identify and classify important lines from the logs and present them
>>>> in a structured form.  Its primary purpose is to get a quick and easy
>>>> overview of actions and errors.
>>>>
>>>
>> I would add that it can correlate more log files (from
>> engine/vdsm/libvirt/quemu) and show a unified view of them.
>> It can follow the life of one entity (such as a VM) and show what was
>> going on with it across the system. I have used it a lot to look for races
>> and it was pretty useful for that.
>>
>
> This is not very clear from the readme, which only says 'Assuming your *oVirt
> logs* are stored in DIRECTORY ' - what logs exactly are in that
> directory?

Whatever logs you have got, unpacked (i.e. not in tar), either
uncompressed or compressed with xz or gzip.  The analyzer looks for
Engine, Vdsm, libvirt, QEMU, sanlock, and SPM lock logs by default,
identified by file names.  Directory structure doesn't matter.

> Is that the result of logs from ovirt-log-collector ?  Y.
>
>
>>
>>>
>>>> The tool analyses given logs and produces text files with the extracted
>>>> information.  There is an Emacs user interface that presents the output
>>>> in a nice way with added functionality such as filtering.  Emacs haters
>>>> can use the plain text files or write another user interface. :-)
>>>>
>>>> You can get ovirt-log-analyzer from
>>>> https://github.com/mz-pdm/ovirt-log-analyzer
>>>> README.md explains how to use it.
>>>>
>>>> Note that ovirt-log-analyzer has been created within the limited
>>>> resources of an Outreachy internship with some additional work and not
>>>> everything is perfect.  Feel free to make improvements.
>>>>
>>>> Regards,
>>>> Milan
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> GREG SHEREMETA
>>>
>>> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>>>
>>> Red Hat NA
>>>
>>> <https://www.redhat.com/>
>>>
>>> gshereme at redhat.com    IRC: gshereme
>>> <https://red.ht/sig>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel


More information about the Devel mailing list