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
49
48
50
***Records**
@@ -59,7 +61,6 @@ Click a field name to view more details, such as its top values and distribution
59
61
:width: 50%
60
62
:::
61
63
62
-
63
64
## Create your first visualization [view-the-number-of-website-visitors]
64
65
65
66
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 +90,20 @@ The only number function that you can use with **clientip** is **Unique count**,
89
90
90
91
4. Click **Save and return**.
91
92
92
-
93
93
## View a metric over time [mixed-multiaxis]
94
94
95
95
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
96
97
97
To visualize the **bytes** field over time:
98
98
99
-
1. On the dashboard, click **Create visualization**.
99
+
1. Create a visualization.
100
+
101
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
102
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
103
+
100
104
2. From the **Available fields** list, drag **bytes** to the workspace.
101
105
102
-
The visualization editor creates a bar chart with the **timestamp** and **Median of bytes** fields.
106
+
The visualization editor creates a bar chart with the **timestamp** and **Median of bytes** fields.
103
107
104
108
3. To zoom in on the data, click and drag your cursor across the bars.
105
109
@@ -150,15 +154,17 @@ Since you removed the axis labels, add a panel title:
150
154
:width: 50%
151
155
:::
152
156
153
-
154
-
155
157
## View the top values of a field [view-the-distribution-of-visitors-by-operating-system]
156
158
157
159
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
160
159
161
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
162
161
-
1. On the dashboard, click **Create visualization**.
163
+
1. Create a visualization.
164
+
165
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
166
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
167
+
162
168
2. From the **Available fields** list, drag **clientip** to the **Vertical axis** field in the layer pane.
163
169
164
170
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 +206,15 @@ The chart labels are unable to display because the **request.keyword** field con
200
206
201
207
Since the table columns are labeled, you do not need to add a panel title.
202
208
203
-
204
-
205
209
## Compare a subset of documents to all documents [custom-ranges]
206
210
207
211
Create a proportional visualization that helps you determine if your users transfer more bytes from documents under 10KB versus documents over 10Kb.
208
212
209
-
1. On the dashboard, click **Create visualization**.
213
+
1. Create a visualization.
214
+
215
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
216
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
217
+
210
218
2. From the **Available fields** list, drag **bytes** to the **Vertical axis** field in the layer pane.
211
219
3. In the layer pane, click **Median of bytes**.
212
220
4. Click the **Sum** quick function, then click **Close**.
@@ -251,12 +259,15 @@ Add a panel title:
251
259
1. Hover over the panel and click . The **Settings** flyout appears.
252
260
2. In the **Title** field, enter `Sum of bytes from large requests`, then click **Apply**.
253
261
254
-
255
262
## View the distribution of a number field [histogram]
256
263
257
264
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
265
259
-
1. On the dashboard, click **Create visualization**.
266
+
1. Create a visualization.
267
+
268
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
269
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
270
+
260
271
2. From the **Available fields** list, drag **bytes** to **Vertical axis** field in the layer pane.
261
272
3. In the layer pane, click **Median of bytes**.
262
273
@@ -280,12 +291,15 @@ Add a panel title:
280
291
1. Hover over the panel and click . The **Settings** flyout appears.
281
292
2. In the **Title** field, enter `Website traffic`, then click **Apply**.
282
293
283
-
284
294
## Create a multi-level chart [treemap]
285
295
286
296
**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
297
288
-
1. On the dashboard, click **Create visualization**.
298
+
1. Create a visualization.
299
+
300
+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
301
+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
302
+
289
303
2. Open the **Visualization type** dropdown, then select **Treemap**.
290
304
3. From the **Available fields** list, drag **Records** to the **Metric** field in the layer pane.
291
305
4. In the layer pane, click **Add or drag-and-drop a field** for **Group by**.
@@ -370,4 +384,4 @@ Now that you have a complete overview of your web server data, save the dashboar
0 commit comments