Skip to content

Commit 480f648

Browse files
committed
edits per MS
1 parent 30a3501 commit 480f648

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

blog-service/2024-11-27-search.md renamed to blog-service/2024-11-28-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ We’re excited to announce the preview release of **Query Assist**, designed to
2222

2323
* **Real-time syntax suggestions**. Get instant recommendations for syntax and operators to accelerate query creation and reduce errors.
2424
* **Schema-based field suggestions**. Automatically discover relevant keys and fields for structured data like JSON logs.
25-
* **Partial and full query predictions**. Anticipate the next operator or receive complete query suggestions based on your input.
25+
* **Partial query prediction**. Anticipate the next operator or receive partial query suggestions based on your input.
2626
* **Enhanced user experience**. Real-time error highlighting and intelligent suggestions provide a smooth and seamless query-building process.
2727

2828
These updates make it easier for both beginners and advanced users to craft accurate queries and analyze data efficiently. [Learn more](/docs/search/query-assist).

docs/search/query-assist.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ description: Logs Query Assist improvements reduce the complexity of Sumo Logic
1111
import useBaseUrl from '@docusaurus/useBaseUrl';
1212

1313
:::sumo Preview release
14-
This is a Preview release. To learn more, contact your Sumo Logic account executive. [Register here](https://docs.google.com/forms/d/e/1FAIpQLSdtmzRn1NyAdk1rXGZrJrpQQwR2i9FKOYd3uKLwEzrkZGVrwQ/viewform).
14+
This is a Preview release. [Register here](https://docs.google.com/forms/d/e/1FAIpQLSdtmzRn1NyAdk1rXGZrJrpQQwR2i9FKOYd3uKLwEzrkZGVrwQ/viewform). To learn more, contact your Sumo Logic account executive.
1515
:::
1616

17-
Query Assist simplifies query-building in Sumo Logic by offering real-time syntax suggestions, schema prompts, and partial/full query predictions. These enhancements streamline the process for users at all skill levels, making it easier to write accurate and efficient queries.
17+
Query Assist simplifies query-building in Sumo Logic by offering real-time syntax suggestions, schema prompts, and partial query prediction. These enhancements streamline the process for users at all skill levels, making it easier to write accurate and efficient queries.
1818

1919
This feature reduces the complexity of query building, enabling easier discovery of relevant fields, minimizing errors, and providing intelligent assistance for query creation.
2020

@@ -28,49 +28,52 @@ This feature reduces the complexity of query building, enabling easier discovery
2828

2929
## How to get started
3030

31-
1. **Start a log search**. From the [**Classic UI**](/docs/get-started/sumo-logic-ui-classic) or the [**New UI**](/docs/get-started/sumo-logic-ui), go to **Log Search** to start typing your query.
32-
2. **Leverage syntax and schema suggestions**. As you type, watch for real-time suggestions for fields and operators. Select options using your arrow keys and press `Tab` to auto-complete.
33-
3. **Take advantage of predictions**. Use partial and full query predictions to build queries faster and more accurately.
34-
4. **Review and correct errors**. Correct flagged errors before running your query.
31+
1. **Start a log search**. From the [**Classic UI**](/docs/get-started/sumo-logic-ui-classic) or the [**New UI**](/docs/get-started/sumo-logic-ui), go to **Log Search** and begin typing your query.
32+
2. **Leverage syntax and schema suggestions**. As you type, watch for real-time suggestions for fields and operators. Use the arrow keys to navigate suggestions and press `Tab` to auto-complete.
33+
3. **Take advantage of predictions**. Use partial query predictions to build queries faster and more accurately.
34+
4. **Review and correct errors**. Address flagged errors before running your query to ensure it executes as intended.
35+
5. **Use the Copilot code editor field**. If you’re using Copilot, edit or update your query directly in the [code editor field](/docs/search/copilot/#edit-query-code) and take advantage of autocomplete suggestions for further refinement.
3536

3637
## Features
3738

38-
## Token-by-token prediction and auto-complete
39+
### Token-by-token prediction and auto-complete
3940

4041
Get real-time suggestions for query completion as you type, with token-by-token predictions helping to quickly finish your queries.
4142

42-
As you start typing a query, such as `_sourceCategory=`, the system provides **token-by-token predictions** and auto-completes your query with relevant metadata options. Simply use the `Tab` key to accept the suggestion. For example, 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.
43+
As you start typing a query, such as `_sourceCategory=`, the system provides token-by-token predictions and auto-completes your query with relevant metadata options. Simply use the `Tab` key to accept the suggestion.
4344

44-
## Schema discovery and field suggestions
45+
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.
46+
47+
For example, 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.
48+
49+
### Schema discovery and field suggestions
4550

4651
Automatically receive suggestions for relevant fields in structured data like JSON logs, making field discovery much easier.
4752

4853
For structured logs like JSON, 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.
4954

50-
## Next operator prediction
55+
### Next operator prediction
5156

52-
The system intelligently predicts the next operator or offers full query suggestions based on your input, reducing manual effort.
57+
The system intelligently predicts the next search operator or offers partial query suggestions based on your input, reducing manual effort.
5358

54-
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. This minimizes manual input and ensures your queries are accurate and aligned with standard query patterns.
59+
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. This minimizes manual input and ensures your queries are accurate and aligned with standard query patterns.
5560

56-
## Real-time error highlighting and feedback
61+
### Real-time error highlighting and feedback
5762

5863
Errors are flagged as you type, with immediate suggestions for corrections, ensuring a seamless query-writing experience.
5964

6065
As you write queries, the system highlights any syntax errors in real-time. For example, if you forget to close parentheses or misspell an operator, the system will flag it and provide suggestions to fix the issue immediately, preventing unnecessary troubleshooting.
6166

62-
## Contextual auto-complete and field discovery
67+
### Contextual auto-complete and field discovery
6368

6469
Suggestions are ranked based on your organization’s common queries, making query completion smarter and more relevant.
6570

6671
The system ranks suggestions based on common queries from your organization or your own previous queries. This ensures that your auto-complete options are not only relevant but also contextually accurate, speeding up the query-writing process.
6772

68-
73+
<!-- hold off
6974
### Need more help?
70-
7175
Try [Sumo Logic Copilot](/docs/search/copilot), our AI-powered assistant that helps you write and execute natural language log search queries.
72-
73-
<!-- Copilot with Query Assist video: https://docs.google.com/presentation/d/1HCaXROM6zrnapLaLo3gDm-S1uQPGAS0p9AquuLwiFXA/edit#slide=id.g3145b7936cd_0_8 -->
76+
Copilot with Query Assist video: https://docs.google.com/presentation/d/1HCaXROM6zrnapLaLo3gDm-S1uQPGAS0p9AquuLwiFXA/edit#slide=id.g3145b7936cd_0_8 -->
7477

7578
## Feedback
7679

0 commit comments

Comments
 (0)