How to convert audit.log's timestamp to human readable format

Solution Verified - Updated -

Issue

  • How can I convert the UNIX timestamps in /var/log/audit/audit.log to the system's local time format?
  • I have an audit.log file from another system. How can I convert the timestamps in that file to standard readable timestamps in the appropriate timezone?

Environment

  • Red Hat Enterprise Linux
  • audit

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content