Moving a Log Saved Search Between Compartments

Move a saved search in Logging to a different compartment.

  • Note

    When editing a saved search, you can also change the compartment.
    1. Open the navigation menu and click Observability & Management. Under Logging, click Saved Searches.
    2. Under List scope, select the compartment that contains the saved search that you want to move.
    3. On the Saved Searches page, click the Actions menu for the saved search that you want to move to a different compartment, and then select Move Resource.
    4. In the Move resource dialog box, select the new compartment.
    5. Click Move resource.
  • Use the oci logging log-saved-search change-compartment command and required parameters to move a saved log search between compartments:

    oci logging log-saved-search change-compartment --compartment-id compartment_ocid --log-saved-search-id log-saved_search_ocid [OPTIONS]

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

  • Run the ChangeLogSavedSearchCompartment operation to move a log saved search between compartments.