Tagging a Log Group at Creation
Add metadata to a log group when you first create it. This metadata enables you to define keys and values and associate them with resources..
See Creating a Log Group for more information on adding tags during log group creation.
Use the
--defined-tags
or--freeform-tags
options when running the oci logging log create command to tag a log object when you create it:oci logging log create [...] [--defined-tags | --freeform-tags] tags
Run the CreateLog operation to create a log object in a log group. Include the
definedTags
andfreeformTags
attributes and their values.