Skip to the content.

Beautify Logs

We can use ccze command to beautify/prettify logs of different types. Usage given below.

Installation

On Debian based systems, we can install it by running the following command -

$ apt-get install -y ccze

Examples

We can pipe differnet logs through standard output such as -

$ cat /var/log/auth.log | ccze

Source: CentOS Blog