Legacy Knowledge Base
Published Jul. 2, 2025

How can we track the complete details of the login history of any user from Liferay Database?

Written By

Prarthana Jadhav

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • If the requirement is to track the events and actions which are going in the Liferay portal like user login logout, document library files actions like add, delete and update.

Environment

  • Liferay Portal 6.2

Resolution

  • Liferay had provided an OOTB application Liferay Audit which gives the complete login and logout details of a user.
  • The Liferay Audit Plugin can be downloaded from the marketplace.
  • The information of the user can be retrieved in two ways.
    • From 'audit_auditevent' table which will be created in the DB once you deploy the plugin in the portal.
    • Alternatively, the details of user activity are present in the portal itself through Audit Reports. This can be accessed by going to Control Panel-> Configuration-> Audit Reports.

      Audit.PNG

Additional Information

  • Steps to Install the Liferay Audit Plugin
    1. Download the lpkg file from marketplace.
    2. Deploy the lpkg file.
    3. Verify the lpkg by checking through Control Panel-> Apps and search for audit.
Did this article resolve your issue ?

Legacy Knowledge Base