Legacy Knowledge Base
Published Jun. 30, 2025

Can we filter the logs by time in the console?

Written By

István Gergely-Tárnoki

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.
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • How can we fetch logs by the exact time, hours, and minutes? 

Environment

  • Liferay PaaS

Resolution

  • Now with the updated console, you can filter by exact time on the UI too.
  • You can still use the Command Line Tool to extract the logs from any specific time you want. Please check the documentation here and the example command returning the Liferay service's application log from 11:00 AM to 11:30 AM:
    lcp log -p <project> -e prd -s liferay --since "2023-06-16T11:00:00+00:00" --until "2023-06-16T11:30+00:00" --type application > c:\Liferay\liferaylog.log
  • You can also filter to time in the URL that is displayed in your browser after you select the start and the end date, you will get a URL like the one below, where you can set the time after the 'T' parameter just like you set it in the CLI command:
    https://console.liferay.cloud/projects/<project>-prd/logs?startDate=2023-06-16T00%3A00%3A00%2B02%3A00&endDate=2023-06-16T23%3A59%3A59%2B02%3A00
Did this article resolve your issue ?

Legacy Knowledge Base