Skip to content

Commit 9725d4a

Browse files
authored
[DOCS] Canvas data sources (#53334) (#53638)
* [DOCS] Canvas data sources * Comments from Gail
1 parent 77db61a commit 9725d4a

File tree

1 file changed

+26
-30
lines changed

1 file changed

+26
-30
lines changed

docs/canvas/canvas-elements.asciidoc

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,80 +20,76 @@ When you add elements to your workpad, you can:
2020
[[add-canvas-element]]
2121
=== Add elements to your workpad
2222

23-
Choose the elements to display on your workpad, then familiarize yourself with the element using the preconfigured demo data.
23+
Choose the elements to display on your workpad, then familiarize yourself with the element using the preconfigured demo data. By default, every element you add to a workpad uses demo data until you change the data source. The demo data includes a small sample data set that you can use to experiment with your element.
2424

2525
. Click *Add element*.
2626

27-
. In the *Elements* window, select the element you want to use.
27+
. In the *Elements* window, select the element you want to use.
2828
+
2929
[role="screenshot"]
3030
image::images/canvas-element-select.gif[Canvas elements]
3131

32-
. Play around with the default settings and see what the element can do.
32+
. Play around with the default settings and see what the element can do.
3333

34-
TIP: Want to use a different element? You can delete the element by selecting it, clicking the *Element options* icon in the top right corner, then selecting *Delete*.
34+
TIP: Want to use a different element? You can delete the element by selecting it, clicking the *Element options* icon in the top right, then selecting *Delete*.
3535

3636
[float]
3737
[[connect-element-data]]
3838
=== Connect the element to your data
3939

40-
When you are ready to move on from the demo data, connect the element to your own data.
40+
When you have finished using the demo data, connect the element to a data source.
4141

4242
. Make sure that the element is selected, then select *Data*.
4343

4444
. Click *Change your data source*.
4545

4646
[float]
4747
[[elasticsearch-sql-data-source]]
48-
==== Connect to Elasticsearch SQL
48+
==== Connect to {es} SQL
4949

50-
Access your data in Elasticsearch using the Elasticsearch SQL syntax.
50+
Access your data in {es} using SQL syntax. For information about SQL syntax, refer to {ref}/sql-spec.html[SQL language].
5151

52-
Unfamiliar with writing Elasticsearch SQL queries? For more information, refer to {ref}/sql-spec.html[SQL language].
52+
. Click *{es} SQL*.
5353

54-
. Click *Elasticsearch SQL*.
54+
. In the *{es} SQL query* box, enter your query, then *Preview* it.
5555

56-
. In the *Elasticearch SQL query* box, enter your query, then *Preview* it.
57-
58-
. If everything looks correct, *Save* it.
56+
. If everything looks correct, *Save* it.
5957

6058
[float]
6159
[[elasticsearch-raw-doc-data-source]]
62-
==== Connect to Elasticsearch raw data
60+
==== Connect to {es} raw data
6361

64-
Use the Lucene query syntax to use your raw data in Elasticsearch.
62+
Access your raw data in {es} without the use of aggregations. Use {es} raw data when you have low volume datasets, or to plot exact, non-aggregated values.
6563

66-
For for more information about the Lucene query string sytax, refer to <<lucene-query,Lucene Query Syntax>>.
64+
To use targeted queries, you can enter a query using the <<lucene-query,Lucene Query Syntax>>.
6765

68-
. Click *Elasticsearch raw documents*.
66+
. Click *{es} raw documents*.
6967

70-
. In the *Index* field, enter the index pattern that you want to display.
68+
. In the *Index* field, enter the index pattern that you want to display.
7169

7270
. From the *Fields* dropdown, select the associated fields you want to display.
7371

7472
. To sort the data, select an option from the *Sort Field* and *Sort Order* dropdowns.
7573

76-
. For more targeted queries, enter a *Query* using the Lucene query string syntax.
74+
. For more targeted queries, enter a *Query* using the Lucene query string syntax.
7775

78-
. *Preview* the query.
76+
. *Preview* the query.
7977

80-
. If your query looks correct, *Save* it.
78+
. If your query looks correct, *Save* it.
8179

8280
[float]
8381
[[timelion-data-source]]
8482
==== Connect to Timelion
8583

86-
Use <<timelion,Timelion>> queries to use your time series data.
84+
Access your time series data using <<timelion,Timelion>> queries. To use Timelion queries, you can enter a query using the <<lucene-query,Lucene Query Syntax>>.
8785

8886
. Click *Timelion*.
8987

90-
. Enter a *Query* using the Lucene query string syntax.
91-
+
92-
For for more information about the Lucene query string syntax, refer to <<lucene-query,Lucene Query Syntax>>.
88+
. Enter a *Query* using the Lucene query string syntax.
9389

9490
. Enter the *Interval*, then *Preview* the query.
9591

96-
. If your query looks correct, *Save* it.
92+
. If your query looks correct, *Save* it.
9793

9894
[float]
9995
[[configure-display-options]]
@@ -109,7 +105,7 @@ When you connect your element to a data source, the element often appears as a w
109105

110106
. Click *Display*
111107

112-
. Change the display options for the element.
108+
. Change the display options for the element.
113109

114110
[float]
115111
[[element-display-container]]
@@ -122,7 +118,7 @@ Further define the appearance of the element container and border.
122118
. Expand *Container style*.
123119

124120
. Change the *Appearance* and *Border* options.
125-
121+
126122
[float]
127123
[[apply-element-styles]]
128124
==== Apply a set of styles
@@ -155,7 +151,7 @@ Increase or decrease how often your data refreshes on your workpad.
155151
[role="screenshot"]
156152
image::images/canvas-refresh-interval.png[Element data refresh interval]
157153

158-
TIP: To manually refresh the data, click the *Refresh data* icon.
154+
TIP: To manually refresh the data, click the *Refresh data* icon.
159155

160156
[float]
161157
[[organize-element]]
@@ -223,7 +219,7 @@ Change the order of how the elements are displayed on your workpad.
223219

224220
. Select an element.
225221

226-
. In the top right corder, click the *Element options* icon.
222+
. In the top right corder, click the *Element options* icon.
227223

228224
. Select *Order*, then select the order that you want the element to appear.
229225

@@ -262,7 +258,7 @@ When you have run out of room on your workpad page, add more pages.
262258

263259
. Click *Page 1*, then click *+*.
264260

265-
. On the *Page* editor panel on the right, select the page transition from the *Transition* dropdown.
261+
. On the *Page* editor panel on the right, select the page transition from the *Transition* dropdown.
266262
+
267263
[role="screenshot"]
268264
image::images/canvas-add-pages.gif[Add pages]

0 commit comments

Comments
 (0)