canonical / hardware-observer-operator

A charm to setup prometheus exporter for IPMI, RedFish and RAID devices from different vendors.
Apache License 2.0
7 stars 14 forks source link

Create simple SEL dashboard #254

Closed zxhdaze closed 2 weeks ago

zxhdaze commented 1 month ago

Create a dashboard with a single panel with ipmiseld logs with host name and log time. Screenshot: image

zxhdaze commented 4 weeks ago

I have dropped the label column. The first time stamp is the time of the viewers machine, and the second timestamp is the time of the instance. I think it would be better to just tell user what each timestamp stands for, instead of unifying time zone for them.

aieri commented 4 weeks ago

I don't understand... I know that you are copying log files over to your local environment, but in a normal deployment the "log machine" and the "viewer machine" would be the same. Is the 'viewed time' column perhaps when the log line has been harvested and sent to Loki?

chanchiwai-ray commented 3 weeks ago

From the screentshot, the Log Time is different from the time from the log messages. What is the difference? I don't see the a filter in the screenshot, is it possible to filter / sort rows?

zxhdaze commented 3 weeks ago

@chanchiwai-ray @rgildein We can sort the log by clicking on the column name and filter the logs by instance, Juju model, etc using the options at the top of the panel. Are there any additional filters that can be added?

chanchiwai-ray commented 3 weeks ago

@chanchiwai-ray @rgildein We can sort the log by clicking on the column name and filter the logs by instance, Juju model, etc using the options at the top of the panel. Are there any additional filters that can be added?

(non-blocking) For me, that's good enough for sorting if it can be sorted chronologically. For filtering, I was more expecting filter by keyword e.g. Critical. But that's non-blocking, I think that will improve the user experience for the dashboard

zxhdaze commented 3 weeks ago

Renamed some column and adjusted some column width. The "Timestamp" column indicates the time at which the BMC log is generated. If it pertains to an ipmiseld status log, which lacks a BMC timestamp, then "Timestamp" refers to the time the log is pushed to syslog.

zxhdaze commented 2 weeks ago

@rgildein @chanchiwai-ray Added a filter by using grafana build-in column filter.