Nagios log date conversion
- December 10th, 2014
- Write comment
To convert the nagios date timestamp in the nagios.log to a standard time format, use:
perl -pe ās/(\d+)/localtime($1)/eā /var/log/nagios3/nagios.log
Archive for December, 2014
To convert the nagios date timestamp in the nagios.log to a standard time format, use:
perl -pe ās/(\d+)/localtime($1)/eā /var/log/nagios3/nagios.log