WatchDogLog - file /var/log/watchdog/*.std*
- class insights.parsers.watchdog_logs.WatchDogLog(context)[source]
Bases:
LogFileOutput
Class for parsing
/var/log/watchdog/*.std*
files.Sample Input:
DEBUG:root:0 INFO:root:Executing: /usr/bin/sg_persist -n -i -k -d /dev/mapper/mpathb DEBUG:root:0 PR generation=0xc2, 4 registered reservation keys follow: 0xfdfe0001 0xfdfe0001 0xfdfe0000 0xfdfe0000 DEBUG:root:key fdfe0001 registered with device /dev/mapper/mpathb INFO:root:Executing: /usr/bin/sg_turs /dev/mapper/mpathb DEBUG:root:0
- time_format = None
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file