Skip to content

Commit b142639

Browse files
committed
Update steps to create a visualization
1 parent 0fbda05 commit b142639

File tree

1 file changed

+31
-16
lines changed

1 file changed

+31
-16
lines changed

explore-analyze/dashboards/create-dashboard-of-panels-with-web-server-data.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,18 @@ Add the sample web logs data, and create and set up the dashboard.
3434

3535
Open the visualization editor, then make sure the correct fields appear.
3636

37-
1. On the dashboard, click **Create visualization**.
37+
1. Create a visualization.
38+
39+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
40+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
41+
3842
2. Make sure the **{{kib}} Sample Data Logs** {{data-source}} appears.
3943

4044
:::{image} /explore-analyze/images/kibana-lens_dataViewDropDown_8.4.0.png
4145
:alt: Data view dropdown
4246
:screenshot:
4347
:::
4448

45-
4649
To create the visualizations in this tutorial, you’ll use the following fields:
4750

4851
* **Records**
@@ -59,7 +62,6 @@ Click a field name to view more details, such as its top values and distribution
5962
:width: 50%
6063
:::
6164

62-
6365
## Create your first visualization [view-the-number-of-website-visitors]
6466

6567
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**,
8991

9092
4. Click **Save and return**.
9193

92-
9394
## View a metric over time [mixed-multiaxis]
9495

9596
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.
9697

9798
To visualize the **bytes** field over time:
9899

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+
100105
2. From the **Available fields** list, drag **bytes** to the workspace.
101106

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.
103108

104109
3. To zoom in on the data, click and drag your cursor across the bars.
105110

@@ -150,15 +155,17 @@ Since you removed the axis labels, add a panel title:
150155
:width: 50%
151156
:::
152157

153-
154-
155158
## View the top values of a field [view-the-distribution-of-visitors-by-operating-system]
156159

157160
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**.
158161

159162
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.
160163

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+
162169
2. From the **Available fields** list, drag **clientip** to the **Vertical axis** field in the layer pane.
163170

164171
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
200207

201208
Since the table columns are labeled, you do not need to add a panel title.
202209

203-
204-
205210
## Compare a subset of documents to all documents [custom-ranges]
206211

207212
Create a proportional visualization that helps you determine if your users transfer more bytes from documents under 10KB versus documents over 10Kb.
208213

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+
210219
2. From the **Available fields** list, drag **bytes** to the **Vertical axis** field in the layer pane.
211220
3. In the layer pane, click **Median of bytes**.
212221
4. Click the **Sum** quick function, then click **Close**.
@@ -251,12 +260,15 @@ Add a panel title:
251260
1. Hover over the panel and click ![Settings icon](/explore-analyze/images/kibana-settings-icon-hover-action.png "kibana-settings-icon-hover-action =4%x4%"). The **Settings** flyout appears.
252261
2. In the **Title** field, enter `Sum of bytes from large requests`, then click **Apply**.
253262

254-
255263
## View the distribution of a number field [histogram]
256264

257265
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.
258266

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+
260272
2. From the **Available fields** list, drag **bytes** to **Vertical axis** field in the layer pane.
261273
3. In the layer pane, click **Median of bytes**.
262274

@@ -280,12 +292,15 @@ Add a panel title:
280292
1. Hover over the panel and click ![Settings icon](/explore-analyze/images/kibana-settings-icon-hover-action.png "kibana-settings-icon-hover-action =4%x4%"). The **Settings** flyout appears.
281293
2. In the **Title** field, enter `Website traffic`, then click **Apply**.
282294

283-
284295
## Create a multi-level chart [treemap]
285296

286297
**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.
287298

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+
289304
2. Open the **Visualization type** dropdown, then select **Treemap**.
290305
3. From the **Available fields** list, drag **Records** to the **Metric** field in the layer pane.
291306
4. In the layer pane, click **Add or drag-and-drop a field** for **Group by**.

0 commit comments

Comments
 (0)