Skip to content

Commit

Permalink
Merge pull request #673 from simon04/patch-1
Browse files Browse the repository at this point in the history
Improved documentation for CheckLogFile
  • Loading branch information
mickem authored Feb 15, 2025
2 parents 166956e + f9fc52d commit aaf672c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/reference/check/CheckLogFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,17 @@ 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'"`



<h5 id="check_logfile_critical">critical:</h5>

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'"`



<h5 id="check_logfile_ok">ok:</h5>
Expand Down Expand Up @@ -185,6 +189,9 @@ In other words if one file contains an error the entire check will result in err


<a name="check_logfile_filter_keys"/>

The following keywords may be used to write a [filter expression](/checks/#expressions).

#### Filter keywords


Expand Down

0 comments on commit aaf672c

Please sign in to comment.