Updated on 2024-08-05 GMT+08:00

Quickly Querying Logs

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

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Log Analysis (Beta) > Log Search.
  3. On the Raw Logs tab page, click and configure quick search. For details, see Table 1.

    Table 1 Quick search parameters

    Parameter

    Description

    Name

    Quick search name, which is used to distinguish quick search statements.

    Enter 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. Do not start with a period (.) or underscore (_) or end with a period.

    Keyword

    Keyword that needs to be repeatedly used during log search, for example, error*.

  4. Click OK.

    After the creation is complete, click the quick query name to quickly view log details.