Moving an Agent Configuration Between Compartments
Move an agent configuration in Logging to a different compartment.
- Open the navigation menu and click Observability & Management. Under Logging, click Agent Configurations.
- Under List scope, select the compartment that contains the agent configuration that you want to move.
- Click the name of the agent configuration.
- On the agent configuration details page, click Move Resource.
- In the Move resource dialog box, choose the new compartment and then click Move resource.
Use the oci logging agent-configuration change-compartment command and required parameters to move an agent configuration for logging between compartments:
oci logging agent-configuration change-compartment --config-id config_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeUnifiedAgentConfigurationCompartment operation to move an agent configuration for logging between compartments.