|
8 | 8 |
|
9 | 9 | The Query tab provides you with robust computation and processing power to get deeper insights into your data. It enables you to filter, manipulate, extend, and summarize your data.
|
10 | 10 |
|
11 |
| -## Use the Query tab |
12 |
| - |
13 |
| -Go to the Query tab and choose one of the following options: |
| 11 | +To query your data, go to the Query tab and choose one of the following options: |
14 | 12 |
|
15 | 13 | - [Generate a query using AI based on a natural-language prompt](#generate-query-using-ai)
|
16 | 14 | - [Create a query using the visual query builder](#create-a-query-using-visual-query-builder)
|
17 | 15 | - [Create a query using Axiom Processing Language (APL)](#create-a-query-using-apl)
|
18 | 16 |
|
19 |
| -You can easily switch between these two methods at any point when creating the query. |
| 17 | +You can easily switch between these methods at any point when creating the query. |
20 | 18 |
|
21 | 19 | ## Generate query using AI
|
22 | 20 |
|
23 |
| -Explain what you want to infer from your data in your own words and Axiom’s AI generates the valid APL query for you. |
| 21 | +Explain what you want to infer from your data in your own words and Axiom AI generates the valid APL query for you. |
24 | 22 |
|
25 | 23 | 1. Go to the Query tab.
|
26 | 24 | 1. Click **APL**, and then click in the query editor.
|
@@ -191,6 +189,13 @@ To configure the event details view, select one of the following in the top righ
|
191 | 189 | - Click <img src="/doc-assets/icons/arrow-up.svg" className="inline-icon" alt="Navigate up icon" /> **Navigate up** or <img src="/doc-assets/icons/arrow-down.svg" className="inline-icon" alt="Navigate down icon" /> **Navigate down** to display the details of the next or previous event.
|
192 | 190 | - Click <img src="/doc-assets/icons/fit-to-results.svg" className="inline-icon" alt="Fit panel to results icon" /> **Fit panel to results** or <img src="/doc-assets/icons/fit-to-viewport.svg" className="inline-icon" alt="Fit panel to viewport height icon" /> **Fit panel to viewport height** to change the height of the event details view.
|
193 | 191 |
|
| 192 | +In the event details view, click <img src="/doc-assets/icons/ellipsis-vertical.svg" className="inline-icon" alt="More icon" /> **More** for additional options: |
| 193 | + |
| 194 | +- **View in context** opens the event in the stream of other events in the Stream tab. |
| 195 | +- **Copy link to event** |
| 196 | +- **Copy JSON** |
| 197 | +- **Show nulls** or **Hide nulls** toggles whether to display fields with null values. |
| 198 | + |
194 | 199 | #### Select displayed fields
|
195 | 200 |
|
196 | 201 | To select the fields to be highlighted or displayed in the table, click <img src="/doc-assets/icons/toggle-fields-panel.svg" className="inline-icon" alt="Toggle fields panel icon" /> **Toggle fields panel**, and then click the fields in the list.
|
@@ -264,4 +269,38 @@ To quickly search for an expression and highlight its occurrences within the que
|
264 | 269 | 1. Type the expression that you want to search for. Axiom automatically highlights the matches and jumps to the first match.
|
265 | 270 | 1. Press <kbd>Enter</kbd> repeatedly to go forward in the list of matches, and press <kbd>Enter</kbd> <kbd>Shift</kbd> to go backward.
|
266 | 271 |
|
267 |
| -Axiom’s search overrides the browser’s native search. Axiom’s search is more powerful because it highlights matching entries in all results returned by the query (while still respecting automatic limits). In contrast, the browser’s search can only highlight matching entries in the events rendered on your screen. |
| 272 | +Axiom’s search overrides the browser’s native search. Axiom’s search is more powerful because it highlights matching entries in all results returned by the query (while still respecting automatic limits). In contrast, the browser’s search can only highlight matching entries in the events rendered on your screen. |
| 273 | + |
| 274 | +## Save and export query |
| 275 | + |
| 276 | +You can save and export the query and its results to use them in other contexts. |
| 277 | + |
| 278 | +### Save query |
| 279 | + |
| 280 | +Save a query so that you and your team members can easily find it in the future. A saved query only includes the APL query itself, not the query results. You can later [find saved queries](/query-data/datasets#saved-queries) in the Datasets tab. |
| 281 | + |
| 282 | +### Create new saved query |
| 283 | + |
| 284 | +1. Click **Save** in the top bar. |
| 285 | +1. Axiom AI generates a descriptive name based on the query. Accept it or edit it to fit your needs. |
| 286 | +1. Click **Save**. |
| 287 | + |
| 288 | +### Replace previously saved query |
| 289 | + |
| 290 | +1. Click **Save** in the top bar. |
| 291 | +1. Click **Replace previously saved query**. |
| 292 | +1. Select the existing saved query that you want to overwrite. |
| 293 | +1. Click **Save**. |
| 294 | + |
| 295 | +### Export query |
| 296 | + |
| 297 | +To export a query and its results, click <img src="/doc-assets/icons/ellipsis-vertical.svg" className="inline-icon" alt="More" /> **More** in the top bar to access the following options: |
| 298 | + |
| 299 | +- **Add to dashboard** lets you create dashboard elements based on the query and add them to a dashboard. For more information, see [Create dashboard elements](/dashboard-elements/create). |
| 300 | +- **Create new monitor** lets you create a monitor based on the query. For more information, see [Monitors](/monitor-data/monitors). |
| 301 | +- **Copy link with relative time** copies a link to the query where the time range is relative to the time when you open the link. For example, if the time range of the query is the last 30 minutes, using the link shows query results for the 30-minute time range before opening the link. |
| 302 | +- **Copy link with absolute time** copies a link to the query where the time range is fixed to the same time range that you see in the query when you create the link. This link shows query results for the same time range, irrespective of when you open the link. |
| 303 | +- **Copy as JSON** lets you copy the query results to your clipboard in JSON format. |
| 304 | +- **Download as JSON** lets you download the query results in JSON format. |
| 305 | +- **Copy as CSV** lets you copy the query results to your clipboard in CSV format. |
| 306 | +- **Download as CSV** lets you download the query results in CSV format. |
0 commit comments