Listing Log Groups

View a list of the log groups in a compartment.

    1. Open the navigation menu and click Observability & Management. Under Logging, click Log Groups.
    2. Under List scope, select the compartment that contains the saved searched that you want to list.

      The Log Groups page lists all the log groups in that compartment.

  • Use the oci logging log-group list command and required parameters to list the log groups in a compartment:

    oci logging log-group list --compartment-id compartment_ocid [OPTIONS]

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

  • Run the ListLogGroups operation to list the log groups in a compartment.