Listing Logs

View a list of the logs contained in a log group.

    1. Open the navigation menu and click Observability & Management. Under Logging, click Log Groups.
    2. On the Log Groups page, select the compartment that contains the log group that you want to inspect for logs.
    3. For the log group you want to inspect for logs, click the name of the log group under Log Group in the table.

      The log group details page opens.

    4. Under Resources, click Logs to display a list of all the logs contained in the log group.

      This resource table of logs functions in the same manner as the main Logs page.

  • Use the oci logging log list command and required parameters to list the logs in a log group.

    oci logging log list --log-group-id log_group_ocid [OPTIONS]

    For a complete list of parameters and variable options for CLI commands, see the Command Line Reference.

  • Run the ListLogs operation to list the logs in a log group.