Tagging an Agent Configuration When Updating
Add metadata to an agent configuration when you update it.
- Open the navigation menu and click Observability & Management. Under Monitoring, click Agent Configurations.
- Under List Scope, select a compartment that you have permission to work in.
- Click the name of the agent configuration that you want.
- To add a tag, click Add tags, and enter the tag namespace, key, and value.
- To view existing tags, click the Tags tab and then click Defined tags or Free-form tags.
- To edit an existing tag, click the edit icon, update the value in the Edit tag dialog box, and then click Save.
- To remove a tag, click the edit icon and then click Remove tag.
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 it:oci logging agent-configuration update [...] [--defined-tags | --freeform-tags] tags
Run the UpdateUnifiedAgentConfiguration operation to tag an agent configuration when you update it. Include the
definedTags
andfreeformTags
attributes and their values.