diff --git a/src/default-log-formats.json b/src/default-log-formats.json index 92bea1fb..f193819a 100644 --- a/src/default-log-formats.json +++ b/src/default-log-formats.json @@ -792,11 +792,12 @@ "url": "", "regex": { "std": { - "pattern": "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z) cpu(?\\d+):(?\\d+)\\)((?WARNING): )?(?.*)" + "pattern": "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z) cpu(?\\d+):(?\\d+)\\)((?WARNING|ALERT): )?(?.*)" } }, "level-field": "level", "level": { + "error": "ALERT", "warning": "WARNING" }, "value": { @@ -812,6 +813,9 @@ "sample": [ { "line": "2014-11-14T19:19:51.559Z cpu7:35233)VC: 2002: Device rescan time 704 msec (total number of devices 91)" + }, + { + "line": "2015-04-01T22:22:35.038Z cpu22:44012977)ALERT: This is what an alert looks like." } ] },