The quick revisit is by query examples.
Query Example:
To run a query you can go through this typical order:
1 | -- find resurce type |
Other query examples please see here.
Query Language
It is recommended to read through the detailed syntax here.
Key Takeaways
-
Comment line starts with
--
in query expression. -
The boolean operator precedence order:
NOT
,OR
andAND
and they must use upper case in query. -
The query expression leftside field is a path from LogEntry group, you can also explore them in the unfolded query result, for example, usually we want to check if
jsonPayload
ortextPayload
contains desired substrings. -
Regular expression on text query examples.
-
The timestamp in query is on UTC, you can get it by date command:
1 | # 2023-07-04T18:50:36+00:00 |