Skip to content

Commit 475336c

Browse files
committed
expand on glossary
1 parent 1593789 commit 475336c

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

docs/search/copilot.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,31 @@ Break your questions into smaller, specific requirements to help Copilot provide
9999
see https://drive.google.com/file/d/10XUn4DQD3K91V3Qf5heCizkHJneTaBJ7/view?usp=sharing
100100
--->
101101

102+
Copilot is built on [Sumo Logic search query language](/docs/search/search-query-language). Below are key functions you can call using natural language prompts:
103+
104+
* `Count logs by` [field(s)]
105+
* `Group logs by` [field(s)]
106+
* `Sort by` [field(s)] [in descending order]
107+
* `Percentage breakdown in` [field] `values`
108+
* `Find` [stat] `for` [field] (max, min, standard deviation, etc.)
109+
* `Filter by` [field] `contains` [keyword]
110+
:::note
111+
Keyword searches are case-sensitive
112+
:::
113+
* `Apply logreduce to logs`
114+
115+
Additional prompts can trigger more advanced activities (e.g., mapping network activity against CrowdStrike):
116+
117+
* `Analyze risk and severity of network activity`
118+
* `Identify top application categories accessed`
119+
120+
##### Tips and tricks
121+
122+
* **Start with a broad query**. Begin with a query like `Show me the most recent logs` to understand the structure and available fields in your logs.
123+
* **Clarify field names**. If fields have similar names and cause confusion, explicitly specify the field (e.g., `<field_name>`) to improve accuracy.
124+
* **Experiment with phrasing**. Try multiple variations of a query to provide context and receive more relevant suggestions.
125+
* **Include time for timeslicing**. When timeslicing data, include the term `time` in your query. For example: `Count requests, every 1m, different code challenges and user used during login attempts by time`.
126+
102127
#### Time range
103128

104129
By default, Copilot searches run with a 15-minute time range. If your search returns no results, consider expanding the time range.
@@ -152,13 +177,6 @@ _sourceCategory=* "{" "}"
152177

153178
If your log query contains a mix of JSON and non-JSON formatting (i.e., a log file is partially JSON), you can isolate the JSON portion by adding `{` to the source expression to trigger **Suggestions**.<br/><img src={useBaseUrl('img/search/copilot/copilot-json.png')} alt="Copilot JSON formatting" style={{border: '1px solid gray'}} width="350" />
154179

155-
#### Tips and tricks
156-
157-
* **Start with a broad query**. Begin with a query like `Show me the most recent logs` to understand the structure and available fields in your logs.
158-
* **Clarify field names**. If fields have similar names and cause confusion, explicitly specify the field (e.g., `<field_name>`) to improve accuracy.
159-
* **Experiment with phrasing**. Try multiple variations of a query to provide context and receive more relevant suggestions.
160-
* **Include time for timeslicing**. When timeslicing data, ensure you mention `time` in your query. For example: `Count requests, every 1m, different code challenges and user used during login attempts by time`.
161-
162180
#### History
163181

164182
Often, users work on multiple incidents at the same time. To view Copilot interactions related to these incidents, click **History**.<br/><img src={useBaseUrl('img/search/copilot/history.png')} alt="Copilot History" style={{border: '1px solid gray'}} width="700" />
@@ -171,7 +189,7 @@ Second, you can resume from a specific query in a conversation by clicking on th
171189

172190
#### New Conversation
173191

174-
To start a new exploration, click **New Conversation**. <br/><img src={useBaseUrl('img/search/copilot/new-conversation.png')} alt="Copilot new conversation" style={{border: '1px solid gray'}} width="700" />
192+
To start a fresh exploration, click **New Conversation**. This clears your current session and allows you to begin with a clean slate.<br/><img src={useBaseUrl('img/search/copilot/new-conversation.png')} alt="Copilot new conversation" style={{border: '1px solid gray'}} width="700" />
175193

176194

177195
### Step 4: Open in Log Search

0 commit comments

Comments
 (0)