Moving a Log Between Log Groups

Move a log to a different log group.

    1. Open the navigation menu and click Observability & Management. Under Logging, click Logs.
    2. Under List scope, select the compartment that contains the log that you want to move.
    3. Click the name of the log that you want to move to a different log group.
    4. On the log details page, click Change Log Group.
    5. In the Move Log to a Different Log Group dialog box, select the new group, and then click Change Log Group.

      The new log group membership is reflected on the Log Information tab's Log Group field.

  • Use the oci logging log change-log-group command and required parameters to move a log between log groups:

    oci logging log change-log-group --log-group-id log_group_ocid --log-id log_ocid [OPTIONS]

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

  • Run the ChangeLogLogGroup operation to move a log between log groups.