Skip to content

Commit 6c6f686

Browse files
alaudazzirhr323
authored andcommitted
[Kibana] Update steps to create a visualization (elastic#3520)
This PR aligns the text with the current UI. Relates to elastic#3214
1 parent c6e359d commit 6c6f686

File tree

1 file changed

+32
-18
lines changed

1 file changed

+32
-18
lines changed

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

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ When you’re done, you’ll have a complete overview of the sample web logs dat
1919
:screenshot:
2020
:::
2121

22-
2322
## Add the data and create the dashboard [add-the-data-and-create-the-dashboard]
2423

2524
Add the sample web logs data, and create and set up the dashboard.
@@ -34,15 +33,18 @@ Add the sample web logs data, and create and set up the dashboard.
3433

3534
Open the visualization editor, then make sure the correct fields appear.
3635

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

4043
:::{image} /explore-analyze/images/kibana-lens_dataViewDropDown_8.4.0.png
4144
:alt: Data view dropdown
4245
:screenshot:
4346
:::
4447

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

4850
* **Records**
@@ -59,7 +61,6 @@ Click a field name to view more details, such as its top values and distribution
5961
:width: 50%
6062
:::
6163

62-
6364
## Create your first visualization [view-the-number-of-website-visitors]
6465

6566
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**,
8990

9091
4. Click **Save and return**.
9192

92-
9393
## View a metric over time [mixed-multiaxis]
9494

9595
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.
9696

9797
To visualize the **bytes** field over time:
9898

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

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

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

@@ -150,15 +154,17 @@ Since you removed the axis labels, add a panel title:
150154
:width: 50%
151155
:::
152156

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

157159
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**.
158160

159161
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.
160162

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

164170
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
200206

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

203-
204-
205209
## Compare a subset of documents to all documents [custom-ranges]
206210

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

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+
210218
2. From the **Available fields** list, drag **bytes** to the **Vertical axis** field in the layer pane.
211219
3. In the layer pane, click **Median of bytes**.
212220
4. Click the **Sum** quick function, then click **Close**.
@@ -251,12 +259,15 @@ Add a panel title:
251259
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.
252260
2. In the **Title** field, enter `Sum of bytes from large requests`, then click **Apply**.
253261

254-
255262
## View the distribution of a number field [histogram]
256263

257264
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.
258265

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

@@ -280,12 +291,15 @@ Add a panel title:
280291
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.
281292
2. In the **Title** field, enter `Website traffic`, then click **Apply**.
282293

283-
284294
## Create a multi-level chart [treemap]
285295

286296
**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.
287297

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+
289303
2. Open the **Visualization type** dropdown, then select **Treemap**.
290304
3. From the **Available fields** list, drag **Records** to the **Metric** field in the layer pane.
291305
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
370384

371385
:::{image} /explore-analyze/images/kibana-dashboard-creator-editor.png
372386
:alt: Information panel of a dashboard showing its creator and last editor
373-
:::
387+
:::

0 commit comments

Comments
 (0)