/logfilter

easy portable bashscript to monitor syslog- and logfile events with on-the-fly filtering and highlight features

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

logfilter

DEPRECATED: I found https://github.com/nojhan/colout to be a superior implementation of this concept.

easy portable bashscript to monitor syslog- and logfile events with on-the-fly filtering and highlight features

Usage

./logfilter /var/log/syslog

The problem

'tail -f' is nice to monitor logfiles, but its far from ideal. Especially when dealing with large volumes of data. Logfilter prevents you from going crazy with bashoneliners to get some sensible output.

Basically you will be going from this:

tail -f alternative

To this:

logfilter is a tail -f alternative

On the fly comfort

This portable utility was written to overcome the repetitiveness of fiddling with grep and tail -f. Logfilter is a wrapper for 'tail -f' and grep.

Filtering incoming data

At any time you can press CTRL-C and modify your incoming regex:

logfilter is a tail -f alternative

Filtering outgoing data

Too much data to stdout? At any time you can press CTRL-C and modify your outgoing regex:

logfilter is a tail -f alternative

Highlighting data

Want to have warnings/errors to standout? Press CTRL-C and modify your highlighting regex:

logfilter is a tail -f alternative