Tagging a Log Saved Search When Updating

Add metadata to an existing saved search in Logging. This metadata enables you to define keys and values and associate them with resources.

    1. Open the navigation menu and click Observability & Management. Under Logging, click Saved Searches.
    2. Under List scope, select the compartment that contains the saved search that you want to tag.
    3. On the Saved Searches page, click the name of the saved search.
    4. On the saved search details page, add or edit tags as needed:
      • To add one or more tags, click Add tags and enter the tag namespace (for a defined tag), key, and value.
      • To edit or remove a tag, click the Tags tab, click the edit icon next to a tag, and change its value or remove it.
  • Use the --defined-tags or --freeform-tags options when running the oci logging log-saved-search update command to tag a log saved search when you update an existing one:

    oci logging log update [...] [--defined-tags | --freeform-tags] tags 
  • Run the UpdateLogSavedSearch operation to edit a log saved search. Include the definedTags and freeformTags attributes and their values.