We can use
ccze command to beautify/prettify logs of different types. Usage given below.
On Debian based systems, we can install it by running the following command -
$ apt-get install -y ccze
We can pipe differnet logs through standard output such as -
$ cat /var/log/auth.log | ccze
Source: CentOS Blog