package log_analyzer import ( "os" "regexp" "time" "github.com/oceanbase/obagent/monitor/message" ) // Nov 28 03:20:05 const hostLogAtLayout = "Jan _2 15:04:05" const logTimeInHostFileNameLayout = "20060102" // HostLogAnalyzer 主机日志 type HostLogAnalyzer struct { fileName string } var hostLogRegexp = regexp.MustCompile(`^(?P