Skip to content

Commit f5f9b10

Browse files
authored
Update 002_Comparing_macro_values.md (#220)
Tiny example corrections
2 parents 13c2776 + 1825a46 commit f5f9b10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/_admin-guide/080_Log/030_Filters/002_Comparing_macro_values.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The following expression selects log messages containing a `PID` (that is,
6565
${PID} macro is not empty):
6666

6767
```config
68-
filter f_pid {"${PID}" !=""};
68+
filter f_pid {"${PID}" != ""};
6969
```
7070

7171
The following expression selects log messages that do not contain a `PID`.
@@ -79,7 +79,7 @@ filter f_pid {"${HOST}${PID}" eq "${HOST}"};
7979
The following example selects messages with priority level higher than 5.
8080

8181
```config
82-
filter f_level {"${LEVEL_NUM}" > "5"};
82+
filter f_level {${LEVEL_NUM} > 5};
8383
```
8484

8585
Note that:

0 commit comments

Comments
 (0)