Getting a Log Saved Search's Details

Get the details of a saved search in Logging.

    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 whose details you want to get.
    3. On the Saved Searches page, click the name of the saved search.

      The saved search details page opens with the Saved Search Information tab selected.

      The Tags tab shows associated tags for the saved search, and you can add or edit tags.

      Under Latest Results, log data is displayed. You can apply some simple filters, such as sorting by newest or oldest from the Sort field, or filtering by time from the corresponding Filter by time field.

    4. To view this saved search on the Search page directly, click the Actions menu and select Explore with Log Search.

      The Search page opens with the saved search loaded, whether it's a basic or advanced search. You can perform more analysis and investigation related to this search directly on the Search page. For more information, see Logging Search.

      While on the Search page, you can also switch between any of the saved searches by selecting them from the Saved Searches list.

  • Use the oci logging log-saved-search get command and required parameters to get the details of a log saved search:

    oci logging log-saved-search get --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 GetLogSavedSearch operation to get the details of a log saved search.