Install libparse-syslog-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libparse-syslog-perl
Description:
perl module for parsing syslog entries
Unix syslogs are convenient to read for humans but because of small differences between operating systems and things like 'last message repeated xx times' not very easy to parse by a script. . Parse::Syslog presents a simple interface to parse syslog files: you create a parser on a file (with new) and call next to get one line at a time with Unix-timestamp, host, program, pid and text returned in a hash-reference.
Homepage: http://search.cpan.org/dist/Parse-Syslog/
Version: 1.10-2ubuntu1
Section: universe/perl