Editing a Log Saved Search

Edit a saved search in Logging.

  • You can change only the name, compartment, and description of a saved search. If you need to change the search parameters, you must create a new saved search.

    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 edit.
    3. On the Saved Searches page, click the name of the saved search.
    4. On the saved search details page, click Edit.
    5. In the Edit Saved Search panel, edit the search name, compartment, and description, as needed.

      The search query is displayed as read-only. To change the search query, create a new saved search.

    6. Click Save Search.
  • Use the oci logging log-saved-search update command and required parameters to edit a log saved search:

    oci logging log-saved-search update --log-saved-search-id log_saved_search_ocid [OPTIONS]

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

  • Run the UpdateLogSavedSearch operation to edit a log saved search.