Tagging an Agent Configuration at Creation

Add metadata to an agent configuration when you create it.

    1. On the Agent configurations list page under Monitoring, select Create agent config. If you need help finding the list page, see Listing Agent Configurations.
    2. On the Create agent configuration panel, select Show advanced options and then provide values for the tagging fields:
      • Tag namespace: The container of the tag that you want (for defined tags).
      • Tag key: The name of the tag that you want.
      • Value: The value that you want to assign to the selected tag.
      • Add tag: Add a tag name-value pair.
      • X: Remove a tag name-value pair.
    3. Provide values for the remaining fields.
      For information about the fields, see Creating an Agent Configuration.
  • Use the --defined-tags or --freeform-tags options when running the oci logging agent-configuration create command to tag an agent configuration when you create it:

    oci logging agent-configuration create [...] [--defined-tags | --freeform-tags] tags 
  • Run the CreateUnifiedAgentConfiguration operation to tag an agent configuration when you create it. Include the definedTags and freeformTags attributes and their values.