Moving a Log Saved Search Between Compartments
Move a saved search in Logging to a different compartment.
- Open the navigation menu and click Observability & Management. Under Logging, click Saved Searches.
- Under List scope, select the compartment that contains the saved search that you want to move.
- 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.
- In the Move resource dialog box, select the new compartment.
- 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.