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 click Observability & Management. Under Logging, click Agent Configurations.
    2. Under List scope, select the compartment that contains the agent configuration that you want to tag.
    3. Click the name of the agent configuration.
    4. 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 and freeformTags attributes and their values.