* [DOCS] Lens refresh for 7.9 * Clean up * Review comments from Wylie
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 1,011 KiB After Width: | Height: | Size: 1 MiB |
Before Width: | Height: | Size: 626 KiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 231 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 53 KiB |
BIN
docs/visualize/images/lens_aggregation_labels.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
docs/visualize/images/lens_index_pattern.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
docs/visualize/images/lens_layers.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
docs/visualize/images/lens_tutorial_3.1.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
docs/visualize/images/lens_tutorial_3.2.png
Normal file
After Width: | Height: | Size: 137 KiB |
|
@ -4,24 +4,22 @@
|
|||
|
||||
beta[]
|
||||
|
||||
*Lens* is a simple and fast way to create visualizations of your {es} data. With *Lens*,
|
||||
*Lens* is a simple and fast way to create visualizations of your {es} data. To create visualizations,
|
||||
you drag and drop your data fields onto the visualization builder pane, and *Lens* automatically generates
|
||||
a visualization that best displays your data.
|
||||
|
||||
With Lens, you can:
|
||||
|
||||
* Explore your data in just a few clicks.
|
||||
* Use the automatically generated visualization suggestions to change the visualization type.
|
||||
|
||||
* Create visualizations with multiple layers and indices.
|
||||
|
||||
* Use the automatically generated visualization suggestions to change the visualization type.
|
||||
|
||||
* Add your visualizations to dashboards and Canvas workpads.
|
||||
|
||||
To get started with *Lens*, click a field in the data panel, then drag and drop the field on a highlighted area.
|
||||
To get started with *Lens*, select a field in the data panel, then drag and drop the field on a highlighted area.
|
||||
|
||||
[role="screenshot"]
|
||||
image::images/lens_drag_drop.gif[]
|
||||
image::images/lens_drag_drop.gif[Drag and drop]
|
||||
|
||||
You can incorporate many fields into your visualization, and Lens uses heuristics to decide how to apply each one to the visualization.
|
||||
|
||||
|
@ -30,9 +28,9 @@ you can still configure the customization options for your visualization.
|
|||
|
||||
[float]
|
||||
[[apply-lens-filters]]
|
||||
==== Filter the data panel fields
|
||||
==== Change the data panel fields
|
||||
|
||||
The fields in the data panel based on your selected <<index-patterns, index pattern>>, and the <<set-time-filter,time filter>>.
|
||||
The fields in the data panel are based on the selected <<index-patterns, index pattern>> and <<set-time-filter,time filter>>.
|
||||
|
||||
To change the index pattern, click it, then select a new one. The fields in the data panel automatically update.
|
||||
|
||||
|
@ -46,12 +44,12 @@ To filter the fields in the data panel:
|
|||
[[view-data-summaries]]
|
||||
==== Data summaries
|
||||
|
||||
To help you decide exactly the data you want to display, get a quick summary of each field. The summary shows the distribution of values in the time range.
|
||||
To help you decide exactly the data you want to display, get a quick summary of each field. The summary shows the distribution of values within the selected time range.
|
||||
|
||||
To view the field summary information, navigate to the field, then click *i*.
|
||||
|
||||
[role="screenshot"]
|
||||
image::images/lens_data_info.png[]
|
||||
image::images/lens_data_info.png[Data summary window]
|
||||
|
||||
[float]
|
||||
[[change-the-visualization-type]]
|
||||
|
@ -62,7 +60,7 @@ image::images/lens_data_info.png[]
|
|||
*Suggestions* are shortcuts to alternate visualizations that *Lens* generates for you.
|
||||
|
||||
[role="screenshot"]
|
||||
image::images/lens_suggestions.gif[]
|
||||
image::images/lens_suggestions.gif[Visualization suggestions]
|
||||
|
||||
If you'd like to use a visualization type that is not suggested, click the visualization type,
|
||||
then select a new one.
|
||||
|
@ -78,19 +76,30 @@ still allows you to make the change.
|
|||
[[customize-operation]]
|
||||
==== Change the aggregation and labels
|
||||
|
||||
Lens allows some customizations of the data for each visualization.
|
||||
For each visualization, Lens allows some customizations of the data.
|
||||
|
||||
. Click *Drop a field here* or the field name in the column.
|
||||
|
||||
. Change the options that appear depending on the type of field.
|
||||
. Change the options that appear. Options vary depending on the type of field.
|
||||
+
|
||||
[role="screenshot"]
|
||||
image::images/lens_aggregation_labels.png[Quick function options]
|
||||
|
||||
[float]
|
||||
[[layers]]
|
||||
==== Add layers and indices
|
||||
|
||||
Bar, line, and area charts allow you to visualize multiple data layers and indices so that you can compare and analyze data from multiple sources.
|
||||
Area, line, and bar charts allow you to visualize multiple data layers and indices so that you can compare and analyze data from multiple sources.
|
||||
|
||||
To add a layer, click *+*, then drag and drop the fields for the new layer. To view a different index, click it, then select a new one.
|
||||
To add a layer, click *+*, then drag and drop the fields for the new layer.
|
||||
|
||||
[role="screenshot"]
|
||||
image::images/lens_layers.png[Add layers]
|
||||
|
||||
To view a different index, click it, then select a new one.
|
||||
|
||||
[role="screenshot"]
|
||||
image::images/lens_index_pattern.png[Add index pattern]
|
||||
|
||||
[float]
|
||||
[[lens-tutorial]]
|
||||
|
@ -110,8 +119,6 @@ To start, you'll need to add the <<add-sample-data, sample ecommerce data>>.
|
|||
|
||||
Drag and drop your data onto the visualization builder pane.
|
||||
|
||||
. Open *Lens*.
|
||||
|
||||
. Select the *kibana_sample_data_ecommerce* index pattern.
|
||||
|
||||
. Click image:images/time-filter-calendar.png[], then click *Last 7 days*.
|
||||
|
@ -138,16 +145,19 @@ image::images/lens_tutorial_2.png[Lens tutorial]
|
|||
|
||||
Make your visualization look exactly how you want with the customization options.
|
||||
|
||||
. Click *Average of taxful_total_price*.
|
||||
|
||||
.. Change the *Label* to `Sales`.
|
||||
|
||||
. Click *Top values of category.keyword*.
|
||||
|
||||
.. Change *Number of values* to `10`. The visualization updates to show there are only
|
||||
six available categories.
|
||||
. Click *Average of taxful_total_price*, then change the *Label* to `Sales`.
|
||||
+
|
||||
Look at the *Suggestions*. An area chart is not an option, but for sales data, a stacked area chart might be the best option.
|
||||
[role="screenshot"]
|
||||
image::images/lens_tutorial_3.1.png[Lens tutorial]
|
||||
|
||||
. Click *Top values of category.keyword*, then change *Number of values* to `10`.
|
||||
+
|
||||
[role="screenshot"]
|
||||
image::images/lens_tutorial_3.2.png[Lens tutorial]
|
||||
+
|
||||
The visualization updates to show there are only six available categories.
|
||||
+
|
||||
Look at the *Suggestions*. An area chart is not an option, but for the sales data, a stacked area chart might be the best option.
|
||||
|
||||
. To switch the chart type, click *Stacked bar chart* in the column, then click *Stacked area* from the *Select a visualizations* window.
|
||||
+
|
||||
|
|