How to change time stamp recorded in the audit log to normal format ?

Solution Verified - Updated -

Issue

  • How to change the unix timestamp in audit log to normal format:

    # cat /var/log/audit/audit.log
    type=USER_LOGIN msg=audit(1431921715.378:17): user pid=2222 uid=0 auid=4294967295 ses=4294967295 msg='op=login id=0 exe="/bin/login" hostname=? addr=? terminal=tty1 res=failed'
    (In this case ,the question is how to change unix timestamp "1431921715.378:17" to normal format.)
    

Environment

  • Red Hat Enterprise Linux All Versions
  • audit log

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.