Skip to content

Commit fce9d2b

Browse files
authored
DOCS-578 - Log Query Assist edits per Search team (#4818)
* Query assist edits per Search team * add gif * Update docs/search/query-assist.md * Update docs/search/query-assist.md
1 parent c98a74c commit fce9d2b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

docs/search/query-assist.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@ Query Assist enhances the query-building experience in Sumo Logic by providing r
3636

3737
### Token-by-token prediction and autocomplete
3838

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.
4040

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.
4345

4446
### Schema discovery and field suggestions
4547

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.
4749

4850
* **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.
4951

@@ -53,12 +55,6 @@ The system intelligently predicts the next search operator or offers partial que
5355

5456
* **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.
5557

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-
6258
### Contextual autocomplete and field discovery
6359

6460
Suggestions are ranked based on your organization’s common queries, making query completion smarter and more relevant.
-2.29 MB
Loading

0 commit comments

Comments
 (0)