Article : nagios_log_convert

perl -pe 's/(\d+)/localtime($1)/e' nagios.log

perl -pe 's/(\d+)/localtime($1)/e' nagios.log |grep hostXXX

tail -n 1000 nagios.log | perl -pe 's/(\d+)/localtime($1)/e'