Moving an Agent Configuration Between Compartments
Move an agent configuration in Logging to a different compartment.
- Open the navigation menu and select Observability & Management. Under Logging, select Agent Configurations.
 - Select the compartment that contains the agent configuration that you want to move.
 - Select the name of the agent configuration.
 - From the Actions menu for the agent configuration, select Actions and then Move Resource.
 - In the Move resource panel, select the destination compartment from the list.
 - Select 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.