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.

    1. Open the navigation menu  and select Observability & Management. Under Logging, select Agent Configurations.
    2. Select the compartment that contains the agent configuration that you want to tag.
    3. Select the name of the agent configuration.
    4. On the agent configuration details page, select the Tags tab and add or edit tags as needed:
      • To add one or more tags, select Add tags and enter the tag namespace (for a defined tag), key, and value.
      • To edit or remove a tag, select the Actions menu (three dots) for the tag and then select the appropriate option.
  • 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 and freeformTags attributes and their values.