Tagging an Agent Configuration at Creation

Add metadata to an agent configuration when you first create it. This metadata enables you to define keys and values and associate them with resources.

  • See Creating an Agent Configuration for more information on adding tags during agent configuration creation.

  • 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 

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateUnifiedAgentConfiguration operation to create an agent configuration for logging. Include the definedTags and freeformTags attributes and their values.