Tagging an Agent Configuration When Updating
Add metadata to an existing agent configuration. This metadata enables you to define keys and values and associate them with resources.
- 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 tag.
- Click the name of the agent configuration.
- On the agent configuration details page, add or edit tags as needed:
- To add one or more tags, click Add tags and enter the tag namespace (for a defined tag), key, and value.
- To edit or remove a tag, click the Tags tab, click the edit icon next to a tag, and change its value or remove it.
Use the
--defined-tags
or--freeform-tags
options when running the oci logging agent-configuration update command to tag an agent configuration when you update an existing one:oci logging agent-configuration update [...] [--defined-tags | --freeform-tags] tags
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateUnifiedAgentConfiguration operation to edit the details of an agent configuration for logging. Include the
definedTags
andfreeformTags
attributes and their values.