Tagging a Log Saved Search at Creation

Add metadata to a log saved search when you first create it. This metadata enables you to define keys and values and associate them with resources.

  • This task can't be performed using the Console.

  • Use the --defined-tags or --freeform-tags options when running the oci logging log-saved-search create command to tag a log saved search when you create it:

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