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.
    3. To add a defined tag, select the namespace and key, then enter a value.
    4. To add a free-form tag, enter a key and value.
    5. 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.