doc-exports/docs/lts/umn/lts_04_0010.html
Hasko, Vladimir 4ab0cf8c88 LTS UMN 0929 (recreate of #277)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 09:59:13 +00:00

4.8 KiB

Quick Search

To search for logs using a keyword repeatedly, perform the following operations to configure quick search.

Procedure

  1. Log in to the LTS console and choose Log Management.
  2. In the log group list, click the name of a log group.
  3. In the log stream list, click the name of a log stream.

    Alternatively, click Search in the Operation column of the row containing the target log stream.

  4. On the log stream details page, click Add Quick Search and configure the Name and Keyword parameters.
    • Set Name. A quick search name:
      • Can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
      • Cannot start with a period (.) or underscore (_), and cannot end with a period (.).
      • Can contain 1 to 64 characters.
    • Set Keyword to a keyword that will be frequently used, for example, error*.
  5. Click OK.

    Added query search filters are displayed next to Add Quick Search. Click the name of a quick search filter to view the search results.

Viewing Context of a Log

You can check the log events generated before and after a log event for quick fault locating.

  1. Log in to the LTS console and choose Log Management.
  2. In the log group list, click the name of a log group.
  3. In the log stream list, click the name of a log stream.

    Alternatively, click Search in the Operation column of the row containing the target log stream.

  4. On the Original Logs tab page, click View Context in the row of a log event.

    The context of the log is displayed.