diff --git a/service_monitor.go b/service_monitor.go index f7cc5f5..1279790 100644 --- a/service_monitor.go +++ b/service_monitor.go @@ -212,56 +212,106 @@ func (jep *JournalEntryParser) parseServiceSpecific(entry LogEntry) LogEntry { return parseNginxService(entry) case "access-manager": return parseAMService(entry) + case "tixel-control-center": + return parseTCCService(entry) default: return entry } } +var ( + amServicePattern = regexp.MustCompile(`^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z)\s+(\w+)\s+(\d+)\s+---\s+\[\s*([^\]]*)\]\s+([\w\.]+)\s*:\s*(.*)$`) + tccServicePattern = regexp.MustCompile(`^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z)\s+(\w+)\s+(\d+)\s+---\s+\[\s*([^\]]*)\]\s+([\w\.]+)\s*:\s*(.*)$`) + tjmServicePattern = regexp.MustCompile(`^(?