Is there any tool to search the IPFire Logfile database - esp. to exclude text patterns ?
Here is a command line example that excludes two simple patterns:
grep -v -e "DROP_" -e "INFO" /var/log/messages
[root@ipfire ~]# grep --help
Usage: grep [OPTION]... PATTERN [FILE]...
Search for PATTERN in each FILE or standard input.
PATTERN is, by default, a basic regular expression (BRE).
Example: grep -i 'hello world' menu.h main.c
Regexp selection and interpretation:
. . .
-v, --invert-match select non-matching lines
-e, --regexp=PATTERN use PATTERN for matching
. . .
1 Like
thank you for this tip - I ll test it.