You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/search/query-assist.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,14 +36,16 @@ Query Assist enhances the query-building experience in Sumo Logic by providing r
36
36
37
37
### Token-by-token prediction and autocomplete
38
38
39
-
Get real-time suggestions for query completion as you type, with token-by-token predictions that help you quickly finish your queries. For example, as you start typing `_sourceCategory=`, the system provides relevant metadata options and autocompletes your query. Simply press the `Tab` key to accept a suggestion.
39
+
Get real-time suggestions for query completion as you type, with token-by-token predictions that help you quickly finish your queries.
40
40
41
-
***Operator suggestions**. When typing the first letters of an operator, the system displays all matching operators related to those letters, helping you quickly find and select the appropriate one. For example, typing `st` might suggest `status`, `startsWith`, or other related operators.
42
-
***Value suggestions**. After typing `status=`, you will be prompted with likely values such as `success`, `error`, or other status codes based on your previous queries or log data.
41
+
***Operator suggestions**. When typing the first letters of an operator, the system displays all matching operators related to those letters, helping you quickly find and select the appropriate one. For example, typing `co` might suggest `count`, `count_distinct`, `count_frequent`, `compare`, `compose`, or other related operators.
42
+
***Value suggestions**. When you start typing a source expression (e.g. `_sourceCategory=`), you will be provided with relevant built-in metadata field options to help autocomplete your query.
43
+
44
+
For example, as you start typing, the system provides relevant metadata options and autocompletes your query. Simply press the `Tab` key to accept a suggestion.
43
45
44
46
### Schema discovery and field suggestions
45
47
46
-
Automatically receive suggestions for relevant fields in structured data like JSON logs, making field discovery much easier.
48
+
Automatically receive suggestions for relevant [fields](/docs/manage/fields) in structured data like JSON logs, making field discovery much easier.
47
49
48
50
***Field suggestions**. For structured logs, the system automatically suggests relevant fields such as `userID`, `eventType`, or `timestamp` as you type. This eliminates the need for manual inspection of logs, making it easier to filter and aggregate data.
49
51
@@ -53,12 +55,6 @@ The system intelligently predicts the next search operator or offers partial que
53
55
54
56
***Operator predictions**. When you type a query such as `source=logs | where status="error"`, the system predicts the next operator and offers suggestions like `count by employeeID` or other common fields, aligning your queries with standard patterns.
55
57
56
-
### Real-time error highlighting and feedback
57
-
58
-
Errors are flagged as you type, with immediate suggestions for corrections, ensuring a seamless query-writing experience.
59
-
60
-
***Error detection**. As you write queries, the system highlights syntax errors in real-time, such as unclosed parentheses or misspelled operators, and provides instant suggestions to fix the issue, preventing unnecessary troubleshooting.
61
-
62
58
### Contextual autocomplete and field discovery
63
59
64
60
Suggestions are ranked based on your organization’s common queries, making query completion smarter and more relevant.
0 commit comments