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
To create the visualizations in this tutorial, you’ll use the following fields:
47
50
48
51
***Records**
@@ -59,7 +62,6 @@ Click a field name to view more details, such as its top values and distribution
59
62
:width: 50%
60
63
:::
61
64
62
-
63
65
## Create your first visualization [view-the-number-of-website-visitors]
64
66
65
67
Pick a field you want to analyze, such as **clientip**. To analyze only the **clientip** field, use the **Metric** visualization to display the field as a number.
@@ -89,17 +91,20 @@ The only number function that you can use with **clientip** is **Unique count**,
89
91
90
92
4. Click **Save and return**.
91
93
92
-
93
94
## View a metric over time [mixed-multiaxis]
94
95
95
96
There are two shortcuts you can use to view metrics over time. When you drag a numeric field to the workspace, the visualization editor adds the default time field from the {{data-source}}. When you use the **Date histogram** function, you can replace the time field by dragging the field to the workspace.
96
97
97
98
To visualize the **bytes** field over time:
98
99
99
-
1. On the dashboard, click **Create visualization**.
100
+
1. Create a visualization.
101
+
102
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
103
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
104
+
100
105
2. From the **Available fields** list, drag **bytes** to the workspace.
101
106
102
-
The visualization editor creates a bar chart with the **timestamp** and **Median of bytes** fields.
107
+
The visualization editor creates a bar chart with the **timestamp** and **Median of bytes** fields.
103
108
104
109
3. To zoom in on the data, click and drag your cursor across the bars.
105
110
@@ -150,15 +155,17 @@ Since you removed the axis labels, add a panel title:
150
155
:width: 50%
151
156
:::
152
157
153
-
154
-
155
158
## View the top values of a field [view-the-distribution-of-visitors-by-operating-system]
156
159
157
160
Create a visualization that displays the most frequent values of **request.keyword** on your website, ranked by the unique visitors. To create the visualization, use **Top values of request.keyword** ranked by **Unique count of clientip**, instead of being ranked by **Count of records**.
158
161
159
162
The **Top values** function ranks the unique values of a field by another function. The values are the most frequent when ranked by a **Count** function, and the largest when ranked by the **Sum** function.
160
163
161
-
1. On the dashboard, click **Create visualization**.
164
+
1. Create a visualization.
165
+
166
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
167
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
168
+
162
169
2. From the **Available fields** list, drag **clientip** to the **Vertical axis** field in the layer pane.
163
170
164
171
The visualization editor automatically applies the **Unique count** function. If you drag **clientip** to the workspace, the editor adds the field to the incorrect axis.
@@ -200,13 +207,15 @@ The chart labels are unable to display because the **request.keyword** field con
200
207
201
208
Since the table columns are labeled, you do not need to add a panel title.
202
209
203
-
204
-
205
210
## Compare a subset of documents to all documents [custom-ranges]
206
211
207
212
Create a proportional visualization that helps you determine if your users transfer more bytes from documents under 10KB versus documents over 10Kb.
208
213
209
-
1. On the dashboard, click **Create visualization**.
214
+
1. Create a visualization.
215
+
216
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
217
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
218
+
210
219
2. From the **Available fields** list, drag **bytes** to the **Vertical axis** field in the layer pane.
211
220
3. In the layer pane, click **Median of bytes**.
212
221
4. Click the **Sum** quick function, then click **Close**.
@@ -251,12 +260,15 @@ Add a panel title:
251
260
1. Hover over the panel and click . The **Settings** flyout appears.
252
261
2. In the **Title** field, enter `Sum of bytes from large requests`, then click **Apply**.
253
262
254
-
255
263
## View the distribution of a number field [histogram]
256
264
257
265
The distribution of a number can help you find patterns. For example, you can analyze the website traffic per hour to find the best time for routine maintenance.
258
266
259
-
1. On the dashboard, click **Create visualization**.
267
+
1. Create a visualization.
268
+
269
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
270
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
271
+
260
272
2. From the **Available fields** list, drag **bytes** to **Vertical axis** field in the layer pane.
261
273
3. In the layer pane, click **Median of bytes**.
262
274
@@ -280,12 +292,15 @@ Add a panel title:
280
292
1. Hover over the panel and click . The **Settings** flyout appears.
281
293
2. In the **Title** field, enter `Website traffic`, then click **Apply**.
282
294
283
-
284
295
## Create a multi-level chart [treemap]
285
296
286
297
**Table** and **Proportion** visualizations support multiple functions. For example, to create visualizations that break down the data by website traffic sources and user geography, apply the **Filters** and **Top values** functions.
287
298
288
-
1. On the dashboard, click **Create visualization**.
299
+
1. Create a visualization.
300
+
301
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
302
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
303
+
289
304
2. Open the **Visualization type** dropdown, then select **Treemap**.
290
305
3. From the **Available fields** list, drag **Records** to the **Metric** field in the layer pane.
291
306
4. In the layer pane, click **Add or drag-and-drop a field** for **Group by**.
0 commit comments