Skip to content

Commit 48b8864

Browse files
alaudazzinaemono
authored andcommitted
[Kibana] Update steps to create a dashboard with time series charts (elastic#3521)
This PR aligns the text with the current UI. Relates to elastic#3214
1 parent e665d1e commit 48b8864

File tree

1 file changed

+40
-17
lines changed

1 file changed

+40
-17
lines changed

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

Lines changed: 40 additions & 17 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-advanced]
2423

2524
Add the sample eCommerce data, and create and set up the dashboard.
@@ -33,9 +32,12 @@ Add the sample eCommerce data, and create and set up the dashboard.
3332

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

36-
1. On the dashboard, click **Create visualization**.
37-
2. Make sure the **Kibana Sample Data eCommerce** {{data-source}} appears, then set the [time filter](../query-filter/filtering.md) to **Last 30 days**.
35+
1. Create a visualization.
36+
37+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
38+
* {applies_to}`stack: ga 9.0` Click **Create visualization**.
3839

40+
2. Make sure the **Kibana Sample Data eCommerce** {{data-source}} appears, then set the [time filter](../query-filter/filtering.md) to **Last 30 days**.
3941

4042
## Create visualizations with custom time intervals [custom-time-interval]
4143

@@ -91,14 +93,17 @@ To identify the 75th percentile of orders, add a reference line:
9193

9294
5. Click **Save and return**.
9395

94-
9596
## Analyze multiple data series [add-a-data-layer-advanced]
9697

9798
You can create visualizations with multiple data series within the same time interval, even when the series have similar configurations with minor differences.
9899

99100
To analyze multiple series, create a line chart that displays the price distribution of products sold over time:
100101

101-
1. On the dashboard, click **Create visualization**.
102+
1. Create a visualization.
103+
104+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
105+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
106+
102107
2. Open the **Visualization type** dropdown, then select **Line**.
103108
3. From the **Available fields** list, drag **products.price** to the workspace.
104109

@@ -129,14 +134,17 @@ To copy a function, you drag it to the **Add or drag-and-drop a field** area wit
129134

130135
6. Click **Save and return**.
131136

132-
133137
## Analyze multiple visualization types [add-a-data-layer]
134138

135139
With layers, you can analyze your data with multiple visualization types. When you create layered visualizations, match the data on the horizontal axis so that it uses the same scale.
136140

137141
To analyze multiple visualization types, create an area chart that displays the average order prices, then add a line chart layer that displays the number of customers.
138142

139-
1. On the dashboard, click **Create visualization**.
143+
1. Create a visualization.
144+
145+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
146+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
147+
140148
2. From the **Available fields** list, drag **products.price** to the workspace.
141149
3. In the layer pane, click **Median of products.price**.
142150

@@ -169,14 +177,17 @@ Add a layer to display the customer traffic:
169177

170178
6. Click **Save and return**.
171179

172-
173180
## Compare the change in percentage over time [percentage-stacked-area]
174181

175182
By default, the visualization editor displays time series data with stacked charts, which show how the different document sets change over time.
176183

177184
To view change over time as a percentage, create an **Area percentage** chart that displays three order categories over time:
178185

179-
1. On the dashboard, click **Create visualization**.
186+
1. Create a visualization.
187+
188+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
189+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
190+
180191
2. From the **Available fields** list, drag **Records** to the workspace.
181192
3. Open the **Visualization type** dropdown, then select **Area**.
182193

@@ -209,12 +220,15 @@ For each order category, create a filter:
209220

210221
8. Click **Save and return**.
211222

212-
213223
## View the cumulative number of products sold on weekends [view-the-cumulative-number-of-products-sold-on-weekends]
214224

215225
To determine the number of orders made only on Saturday and Sunday, create an area chart, then add it to the dashboard.
216226

217-
1. On the dashboard, click **Create visualization**.
227+
1. Create a visualization.
228+
229+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
230+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
231+
218232
2. Open the **Visualization type** dropdown, then select **Area**.
219233

220234
Configure the cumulative sum of store orders:
@@ -246,14 +260,17 @@ Filter the results to display the data for only Saturday and Sunday:
246260

247261
6. Click **Save and return**.
248262

249-
250263
## Compare time ranges [compare-time-ranges]
251264

252265
With **Time shift**, you can compare the data from different time ranges. To make sure the data displays correctly, choose a multiple of the date histogram interval when you use multiple time shifts. For example, you are unable to use a **36h** time shift for one series, and a **1d** time shift for the second series if the interval is **days**.
253266

254267
To compare two time ranges, create a line chart that compares the sales in the current week with sales from the previous week:
255268

256-
1. On the dashboard, click **Create visualization**.
269+
1. Create a visualization.
270+
271+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
272+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
273+
257274
2. Open the **Visualization type** dropdown, then select **Line**.
258275
3. From the **Available fields** list, drag **Records** to the workspace.
259276
4. To duplicate **Count of records**, drag **Count of records** to **Add or drag-and-drop a field** for **Vertical axis** in the layer pane.
@@ -275,14 +292,17 @@ To create a week-over-week comparison, shift **Count of records [1]** by one wee
275292

276293
Time shifts can be used on any metric. The special shift **previous** will show the time window preceding the currently selected one in the time picker in the top right, spanning the same duration. For example, if **Last 7 days** is selected in the time picker, **previous** will show data from 14 days ago to 7 days ago. This mode can’t be used together with date histograms.
277294

278-
279295
### Analyze the percent change between time ranges [compare-time-as-percent]
280296

281297
With **Formula**, you can analyze the percent change in your data from different time ranges.
282298

283299
To compare time range changes as a percent, create a bar chart that compares the sales in the current week with sales from the previous week:
284300

285-
1. On the dashboard, click **Create visualization**.
301+
1. Create a visualization.
302+
303+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
304+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
305+
286306
2. From the **Available fields** list, drag **Records** to the workspace.
287307
3. In the layer pane, click **Count of records**.
288308
4. Click **Formula**, then enter `count() / count(shift='1w') - 1` in the **Formula** field.
@@ -298,14 +318,17 @@ To compare time range changes as a percent, create a bar chart that compares the
298318

299319
8. Click **Save and return**.
300320

301-
302321
## Analyze the data in a table [view-customers-over-time-by-continents]
303322

304323
With tables, you can view and compare the field values, which is useful for displaying the locations of customer orders.
305324

306325
Create a date histogram table and group the customer count metric by category, such as the continent registered in user accounts:
307326

308-
1. On the dashboard, click **Create visualization**.
327+
1. Create a visualization.
328+
329+
* {applies_to}`stack: ga 9.2` Select **Add** > **Visualization** in the toolbar.
330+
* {applies_to}`stack: ga 9.0` Click **Create visualization** in the dashboard toolbar.
331+
309332
2. Open the **Visualization type** dropdown, then select **Table**.
310333
3. From the **Available fields** list, drag **customer_id** to the **Metrics** field in the layer pane.
311334

0 commit comments

Comments
 (0)