From f9fc52dac06f959d5102380189edb9f51075f366 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 24 Mar 2020 11:56:47 +0100 Subject: [PATCH] docs(CheckLogFile) --- docs/docs/reference/check/CheckLogFile.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/docs/reference/check/CheckLogFile.md b/docs/docs/reference/check/CheckLogFile.md index 0a6fa2d01..450c08487 100644 --- a/docs/docs/reference/check/CheckLogFile.md +++ b/docs/docs/reference/check/CheckLogFile.md @@ -97,6 +97,8 @@ They do not denote warning or critical state instead it defines which items are Filter which marks items which generates a warning state. If anything matches this filter the return status will be escalated to warning. +*Example:* `warning="line LIKE 'WARN'"` +
critical:
@@ -104,6 +106,8 @@ If anything matches this filter the return status will be escalated to warning. Filter which marks items which generates a critical state. If anything matches this filter the return status will be escalated to critical. +*Example:* `warning="line LIKE 'ERROR'"` +
ok:
@@ -185,6 +189,9 @@ In other words if one file contains an error the entire check will result in err + +The following keywords may be used to write a [filter expression](/checks/#expressions). + #### Filter keywords