Skip to content

Commit

Permalink
[DOCS] Refresh transform screenshots with histograms (elastic#59264)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jul 23, 2020
1 parent 6b9a362 commit 6cf2642
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions docs/reference/transform/ecommerce-tutorial.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ might want to derive from this eCommerce data.
--
_Pivoting_ your data involves using at least one field to group it and applying
at least one aggregation. You can preview what the transformed data will look
like, so go ahead and play with it!
like, so go ahead and play with it! You can also enable histogram charts to get
a better understanding of the distribution of values in your data.

For example, you might want to group the data by product ID and calculate the
total number of sales for each product and its average price. Alternatively, you
Expand All @@ -38,11 +39,11 @@ they purchased. Or you might want to take the currencies or geographies into
consideration. What are the most interesting ways you can transform and
interpret this data?

Go to *Management* > *Elasticsearch* > *Transforms* in {kib} and use the
wizard to create a {transform}:
Go to *Management* > *Stack Management* > *Data* > *Transforms* in {kib} and use
the wizard to create a {transform}:

[role="screenshot"]
image::images/ecommerce-pivot1.jpg["Creating a simple {transform} in {kib}"]
image::images/ecommerce-pivot1.png["Creating a simple {transform} in {kib}"]

In this case, we grouped the data by customer ID and calculated the sum of
products each customer purchased.
Expand All @@ -59,7 +60,7 @@ We'll accomplish this by using the
on the `order_id` field:

[role="screenshot"]
image::images/ecommerce-pivot2.jpg["Adding multiple aggregations to a {transform} in {kib}"]
image::images/ecommerce-pivot2.png["Adding multiple aggregations to a {transform} in {kib}"]

TIP: If you're interested in a subset of the data, you can optionally include a
<<request-body-search-query,query>> element. In this
Expand Down Expand Up @@ -220,7 +221,7 @@ can stop it.
You can start, stop, and manage {transforms} in {kib}:

[role="screenshot"]
image::images/manage-transforms.jpg["Managing {transforms} in {kib}"]
image::images/manage-transforms.png["Managing {transforms} in {kib}"]

Alternatively, you can use the
<<start-transform,start {transforms}>> and
Expand Down Expand Up @@ -249,7 +250,7 @@ data is ingested.
For example, use the *Discover* application in {kib}:

[role="screenshot"]
image::images/ecommerce-results.jpg["Exploring the new index in {kib}"]
image::images/ecommerce-results.png["Exploring the new index in {kib}"]

--

Expand All @@ -261,4 +262,4 @@ patterns remain.

Now that you've created a simple {transform} for {kib} sample data, consider
possible use cases for your own data. For more ideas, see
<<transform-usage>> and <<transform-examples>>.
<<transform-usage>> and <<transform-examples>>.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/reference/transform/images/pivot-preview.jpg
Binary file not shown.
Binary file added docs/reference/transform/images/pivot-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/reference/transform/overview.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ quantity. The result is an entity-centric index that shows the number of sold
items in every product category in the last year.

[role="screenshot"]
image::images/pivot-preview.jpg["Example of a {transform} pivot in {kib}"]
image::images/pivot-preview.png["Example of a {transform} pivot in {kib}"]

IMPORTANT: The {transform} leaves your source index intact. It
creates a new index that is dedicated to the transformed data.
Expand Down

0 comments on commit 6cf2642

Please sign in to comment.