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.
- Open the navigation menu and click Observability & Management. Under Logging, click Saved Searches.
- Under List Scope select the compartment that contains the saved search that you want to edit.
- On the Saved Searches page, click the name of the saved search.
- On the saved search details page, click Edit.
-
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.
- 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.