Tagging an Agent Configuration at Creation

Add metadata to an agent configuration when you create it.

    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Agent Configurations.
    2. Under List Scope, select a compartment that you have permission to work in.
    3. Click Create agent config.
    4. On the Create agent configuration panel, click 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.
    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.