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/copilot.md
+26-8Lines changed: 26 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,31 @@ Break your questions into smaller, specific requirements to help Copilot provide
99
99
see https://drive.google.com/file/d/10XUn4DQD3K91V3Qf5heCizkHJneTaBJ7/view?usp=sharing
100
100
--->
101
101
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
+
102
127
#### Time range
103
128
104
129
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=* "{" "}"
152
177
153
178
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" />
154
179
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
-
162
180
#### History
163
181
164
182
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
171
189
172
190
#### New Conversation
173
191
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" />
0 commit comments