Convert audit.log timestamp to human readable format

To convert audit.log timestamp to human readable format, use the following command:

# date -d@1592968202
Wed Jun 24 08:40:02 IST 2020

To convert a human readable date to timestamp format used by audit.log, use the following command:

# date --date="Wed Jun 24 08:40:02 IST 2020" +%s
1592968202
Posts created 9

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top