Tagging a Log When Updating

Add metadata to an existing log. This metadata enables you to define keys and values and associate them with resources.

    1. Open the navigation menu  and select Observability & Management. Under Logging, select Logs.
    2. Select the compartment that contains the log that you want to add tags to.
    3. Select the name of the log.
    4. On the log details page, select the Tags tab and add or edit tags as needed:
      • To add one or more tags, select Add and enter the tag namespace (for a defined tag), key, and value.
      • To edit or remove a tag, select the Actions menu (three dots) for the tag and then select the appropriate option.
  • Use the --defined-tags or --freeform-tags options when running the oci logging log update command to tag a log when you update it:

    oci logging log update [...] [--defined-tags | --freeform-tags] tags
                            
  • Run the UpdateLog operation to edit a log's configuration. Include the definedTags and freeformTags attributes and their values.