diff --git a/.i18nrc.json b/.i18nrc.json index 65a2e150c3c625..12f6fb63700170 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -62,11 +62,11 @@ "uiActions": "src/plugins/ui_actions", "visDefaultEditor": "src/plugins/vis_default_editor", "visTypeMarkdown": "src/plugins/vis_type_markdown", - "visTypeMetric": "src/plugins/vis_type_metric", + "visTypeMetric": "src/plugins/vis_types/metric", "visTypeTable": "src/plugins/vis_type_table", - "visTypeTagCloud": "src/plugins/vis_type_tagcloud", + "visTypeTagCloud": "src/plugins/vis_types/tagcloud", "visTypeTimeseries": "src/plugins/vis_type_timeseries", - "visTypeVega": "src/plugins/vis_type_vega", + "visTypeVega": "src/plugins/vis_types/vega", "visTypeVislib": "src/plugins/vis_types/vislib", "visTypeXy": "src/plugins/vis_types/xy", "visTypePie": "src/plugins/vis_types/pie", diff --git a/api_docs/core.json b/api_docs/core.json index 29af41d76f0756..e66f83b3ecbcd8 100644 --- a/api_docs/core.json +++ b/api_docs/core.json @@ -1125,7 +1125,7 @@ "references": [ { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/plugin.ts" + "path": "src/plugins/vis_types/vega/public/plugin.ts" } ] }, @@ -1423,15 +1423,15 @@ }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/data_model/search_api.ts" + "path": "src/plugins/vis_types/vega/public/data_model/search_api.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/plugin.ts" + "path": "src/plugins/vis_types/vega/public/plugin.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/target/types/public/data_model/search_api.d.ts" + "path": "src/plugins/vis_types/vega/target/types/public/data_model/search_api.d.ts" } ] } diff --git a/api_docs/data.json b/api_docs/data.json index be8cd141524e2d..0a9d61be6102e8 100644 --- a/api_docs/data.json +++ b/api_docs/data.json @@ -16235,11 +16235,11 @@ }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "dashboard", @@ -20354,15 +20354,15 @@ }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" } ], "children": [ @@ -22474,7 +22474,7 @@ }, { "plugin": "visTypeMetric", - "path": "src/plugins/vis_type_metric/public/plugin.ts" + "path": "src/plugins/vis_types/metric/public/plugin.ts" }, { "plugin": "visTypeTable", @@ -30651,11 +30651,11 @@ }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "dashboard", @@ -37100,11 +37100,11 @@ }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "visTypeVega", - "path": "src/plugins/vis_type_vega/public/vega_request_handler.ts" + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "dashboard", diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index cbfe59e18ce167..59547b7f0138e2 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -709,7 +709,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_metric/public/plugin.ts#:~:text=fieldFormats) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/metric/public/plugin.ts#:~:text=fieldFormats) | - | @@ -768,12 +768,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=esQuery) | 8.1 | -| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | -| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | -| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | -| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/plugin.ts#:~:text=injectedMetadata) | - | -| | [search_api.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/data_model/search_api.ts#:~:text=injectedMetadata), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/public/plugin.ts#:~:text=injectedMetadata), [search_api.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_vega/target/types/public/data_model/search_api.d.ts#:~:text=injectedMetadata) | - | +| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery) | 8.1 | +| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | +| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | +| | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/plugin.ts#:~:text=injectedMetadata) | - | +| | [search_api.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.ts#:~:text=injectedMetadata), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/plugin.ts#:~:text=injectedMetadata), [search_api.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/target/types/public/data_model/search_api.d.ts#:~:text=injectedMetadata) | - | diff --git a/api_docs/vis_type_vega.json b/api_docs/vis_type_vega.json index 88a5bda07a2f2d..1ecbc7c48f2892 100644 --- a/api_docs/vis_type_vega.json +++ b/api_docs/vis_type_vega.json @@ -22,7 +22,7 @@ "tags": [], "label": "VisTypeVegaPluginStart", "description": [], - "path": "src/plugins/vis_type_vega/server/types.ts", + "path": "src/plugins/vis_types/vega/server/types.ts", "deprecated": false, "children": [], "lifecycle": "start", @@ -35,7 +35,7 @@ "tags": [], "label": "VisTypeVegaPluginSetup", "description": [], - "path": "src/plugins/vis_type_vega/server/types.ts", + "path": "src/plugins/vis_types/vega/server/types.ts", "deprecated": false, "children": [], "lifecycle": "setup", diff --git a/docs/CHANGELOG.asciidoc b/docs/CHANGELOG.asciidoc index 28e0a36e541e64..f9c65b2c4965cd 100644 --- a/docs/CHANGELOG.asciidoc +++ b/docs/CHANGELOG.asciidoc @@ -67,6 +67,58 @@ Review important information about the {kib} 7.x releases. For information about the 7.14.1 release, review the following information. +[float] +[[security-updates-v7.14.1]] +=== Security updates +Review the security updates that were found in previous versions of {kib}. +[discrete] +[[code-execution-issue]] +.Code execution issue +[%collapsible] +==== +*Details* + +In {kib} 7.10.2 to 7.14.0, users with Fleet admin privileges could insecurely upload malicious packages. Due to an older version of the js-yaml library, attackers were able to execute commands on the {kib} server. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22150[CVE-2021-22150] +*Solution* + +Upgrade to {kib} 7.14.1. +==== +[discrete] +[[path-traversal-issue]] +.Path traversal issue +[%collapsible] +==== +*Details* + +In {kib} 7.13.4 and earlier, {kib} was not validating the user supplied paths that upload .pbf files, allowing malicious users to arbitrarily traverse the {kib} host to load internal files that end in the .pbf extension. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22151[CVE-2021-22151] +Thanks to Luat Nguyen of CyberJutsu for reporting this issue. +*Solution* + +Upgrade to {kib} 7.14.1. +==== +[discrete] +[[html-injection-issue]] +.HTML injection issue +[%collapsible] +==== +*Details* + +In {kib} 7.14.0, {kib} was not sanitizing document fields that contain HTML snippets, allowing attackers with the ability to write documents to an {es} index to inject HTML. When *Discover* highlighted a search term that contained the HTML, the term was rendered. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37936[CVE-2021-37936] +*Solution* + +In <>, set `doc_table:highlight` to `false`. If you do not want to change the *Advanced Settings*, upgrade to {kib} 7.14.1. +==== +[discrete] +[[nodejs-security-vulnerabilities]] +.Node.js security vulnerabilities +[%collapsible] +==== +*Details* + +In {kib} 7.14.0 and earlier, Node.js 14.17.3 is affected by the following security vulnerabilities: +* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22930[CVE-2021-22930] +* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3672[CVE-2021-3672] +* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22931[CVE-2021-22931] +* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22930[CVE-2021-22930] +* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22939[CVE-2021-22939] +We do not believe an attacker can exploit the security vulnerabilities against {kib}, but are upgrading Node.js out of an abudance of caution. To resolve the security vulnerabilities, {kib} 7.14.1 upgrades Node.js to 14.17.5. +*Solution* + +Upgrade to {kib} 7.14.1. +==== + [float] [[breaking-changes-v7.14.1]] === Breaking changes diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 87db0e0d170289..5aa70d71183cbc 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -290,7 +290,7 @@ The plugin exposes the static DefaultEditorController class to consume. |The markdown visualization that can be used to place text panels on dashboards. -|{kib-repo}blob/{branch}/src/plugins/vis_type_metric[visTypeMetric] +|{kib-repo}blob/{branch}/src/plugins/vis_types/metric[visTypeMetric] |WARNING: Missing README. @@ -302,7 +302,7 @@ The plugin exposes the static DefaultEditorController class to consume. |Contains the data table visualization, that allows presenting data in a simple table format. -|{kib-repo}blob/{branch}/src/plugins/vis_type_tagcloud[visTypeTagcloud] +|{kib-repo}blob/{branch}/src/plugins/vis_types/tagcloud[visTypeTagcloud] |WARNING: Missing README. @@ -314,7 +314,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_type_vega[visTypeVega] +|{kib-repo}blob/{branch}/src/plugins/vis_types/vega[visTypeVega] |WARNING: Missing README. diff --git a/docs/discover/images/add-field-to-pattern.png b/docs/discover/images/add-field-to-pattern.png index 9a206f5f1bd1d0..54d6610ca7bb48 100644 Binary files a/docs/discover/images/add-field-to-pattern.png and b/docs/discover/images/add-field-to-pattern.png differ diff --git a/docs/discover/images/customer.png b/docs/discover/images/customer.png index 4c1ff2f2fddbd1..904741631eb346 100644 Binary files a/docs/discover/images/customer.png and b/docs/discover/images/customer.png differ diff --git a/docs/discover/images/discover-from-visualize.png b/docs/discover/images/discover-from-visualize.png index 42d46e6cbd5b5d..6c976f01bc9f4d 100644 Binary files a/docs/discover/images/discover-from-visualize.png and b/docs/discover/images/discover-from-visualize.png differ diff --git a/docs/discover/images/discover-search-for-relevance.png b/docs/discover/images/discover-search-for-relevance.png index 64cfd87b7aac2b..15945b3515530f 100644 Binary files a/docs/discover/images/discover-search-for-relevance.png and b/docs/discover/images/discover-search-for-relevance.png differ diff --git a/docs/discover/images/document-table-expanded.png b/docs/discover/images/document-table-expanded.png index ebbd2e607eb5ab..3abc9ee7c1cbff 100644 Binary files a/docs/discover/images/document-table-expanded.png and b/docs/discover/images/document-table-expanded.png differ diff --git a/docs/discover/images/document-table.png b/docs/discover/images/document-table.png index 5b5dbc08d6e64b..98764f34350bff 100644 Binary files a/docs/discover/images/document-table.png and b/docs/discover/images/document-table.png differ diff --git a/docs/discover/images/double-arrow.png b/docs/discover/images/double-arrow.png index ba4ee11ebf7381..80b87b4a35326b 100644 Binary files a/docs/discover/images/double-arrow.png and b/docs/discover/images/double-arrow.png differ diff --git a/docs/discover/images/downward-arrow.png b/docs/discover/images/downward-arrow.png index 47b03cfe82b348..a0b153bfe3b399 100644 Binary files a/docs/discover/images/downward-arrow.png and b/docs/discover/images/downward-arrow.png differ diff --git a/docs/discover/images/hello-field.png b/docs/discover/images/hello-field.png index 5c6348d4e90fe6..fc2c79c13a5d28 100644 Binary files a/docs/discover/images/hello-field.png and b/docs/discover/images/hello-field.png differ diff --git a/docs/discover/search-for-relevance.asciidoc b/docs/discover/search-for-relevance.asciidoc index f3cf1c3a7f52c6..eab310c1b5b01d 100644 --- a/docs/discover/search-for-relevance.asciidoc +++ b/docs/discover/search-for-relevance.asciidoc @@ -1,6 +1,5 @@ [[discover-search-for-relevance]] == Search for relevance -Sometimes you might be unsure which documents best match your search. {es} assigns a relevancy, or score to each document, so you can can narrow your search to the documents with the most relevant results. The higher the score, the better it matches your query. @@ -12,9 +11,7 @@ the <>, or you can use your ow . In *Discover*, open the index pattern dropdown, and select that data you want to work with. + For the sample flights data, set the index pattern to *kibana_sample_data_flights*. -. In the query bar, click *KQL*, and then turn it off. -+ -You're now using the <>. + . Run your search. For the sample data, try: + ```ts @@ -22,15 +19,15 @@ Warsaw OR Venice OR Clear ``` . If you don't see any results, expand the <>, for example to *Last 7 days*. . From the list of *Available fields*, add `_score` and any other fields you want to the document table. -. To sort the `_score` column in descending order, hover over its header, and then click twice on -the arrow icon -image:images/double-arrow.png[Double arrow icon to indicate sorting] so it changes to +. To sort the `_score` column in descending order, hover over its header, and set +the sort icon to image:images/downward-arrow.png[Downward pointing arrow to indicate descending sorting]. + At this point, you're doing a multi-column sort: first by `Time`, and then by `_score`. -. To turn off sorting for the `Time` field, hover over its header, and then click the down arrow. +. To turn off sorting for the `Time` field, hover over its header, and set the sort icon to +image:images/double-arrow.png[Arrow on both ends of the icon indicates sorting is off]. + Your table now sorts documents from most to least relevant. + [role="screenshot"] -image::images/discover-search-for-relevance.png["Example of a search for relevance"] +image::images/discover-search-for-relevance.png["Documents are sorted from most relevant to least relevant."] diff --git a/docs/spaces/images/edit-space-feature-visibility.png b/docs/spaces/images/edit-space-feature-visibility.png index f1852d3cc03b50..b6ee4740e1d207 100644 Binary files a/docs/spaces/images/edit-space-feature-visibility.png and b/docs/spaces/images/edit-space-feature-visibility.png differ diff --git a/docs/spaces/images/edit-space.png b/docs/spaces/images/edit-space.png index 9785dd9e77aba2..97d7ec009ade45 100644 Binary files a/docs/spaces/images/edit-space.png and b/docs/spaces/images/edit-space.png differ diff --git a/docs/spaces/images/spaces-roles.png b/docs/spaces/images/spaces-roles.png index 031b319cfad3e9..b9003a91092bf3 100644 Binary files a/docs/spaces/images/spaces-roles.png and b/docs/spaces/images/spaces-roles.png differ diff --git a/docs/spaces/index.asciidoc b/docs/spaces/index.asciidoc index aeeb7b45ccd8a7..6722503eb03232 100644 --- a/docs/spaces/index.asciidoc +++ b/docs/spaces/index.asciidoc @@ -8,29 +8,18 @@ the dashboards and saved objects that belong to that space. {kib} creates a default space for you. After you create your own -spaces, you're asked to choose a space when you log in to Kibana. You can change your +spaces, you're asked to choose a space when you log in to {kib}. You can change your current space at any time by using the menu. [role="screenshot"] image::images/change-space.png["Change current space menu"] -Kibana supports spaces in several ways. You can: - -[[spaces-getting-started]] - -* <> -* <> -* <> -* <> -* <> -* <> - [float] -==== Required permissions +==== Required privileges The `kibana_admin` role or equivalent is required to manage **Spaces**. -TIP: Looking to support multiple tenants? See <> for more information. +TIP: Looking to support multiple tenants? Refer to <> for more information. [float] [[spaces-managing]] @@ -71,14 +60,14 @@ You can't delete the default space, but you can customize it to your liking. === Control feature access based on user needs You have control over which features are visible in each space. -For example, you might hide Dev Tools -in your "Executive" space or show Stack Monitoring only in your "Admin" space. +For example, you might hide *Dev Tools* +in your "Executive" space or show *Stack Monitoring* only in your "Admin" space. You can define which features to show or hide when you add or edit a space. Controlling feature visibility is not a security feature. To secure access to specific features on a per-user basis, you must configure -<>. +<>. [role="screenshot"] image::images/edit-space-feature-visibility.png["Controlling features visiblity"] @@ -87,12 +76,12 @@ image::images/edit-space-feature-visibility.png["Controlling features visiblity" [[spaces-control-user-access]] === Control feature access based on user privileges -When using Kibana with security, you can configure applications and features +When using {kib} with security, you can configure applications and features based on your users’ privileges. This means different roles can have access to different features in the same space. Power users might have privileges to create and edit visualizations and dashboards, -while analysts or executives might have Dashboard and Canvas with read-only privileges. -See <> for details. +while analysts or executives might have read-only privileges for *Dashboard* and *Canvas*. +Refer to <> for details. [role="screenshot"] image::images/spaces-roles.png["Controlling features visiblity"] @@ -105,7 +94,7 @@ To move saved objects between spaces, you can <>. + +When you upgrade {kib}, the default space contains all of your existing saved objects. + -If you are upgrading your -version of {kib}, the default space will contain all of your existing saved objects. diff --git a/docs/user/dashboard/dashboard.asciidoc b/docs/user/dashboard/dashboard.asciidoc index 6430c5d246dc6e..1284c057af2da7 100644 --- a/docs/user/dashboard/dashboard.asciidoc +++ b/docs/user/dashboard/dashboard.asciidoc @@ -283,37 +283,15 @@ To enable series interactions, refer to < Download as CSV*. - -[float] -[[download-other-panel-data]] -=== Download all other panel data - -Download the data for non-*Lens* panels. +Download panel data in a CSV file. When you download visualization panels with multiple layers, each layer produces a CSV file, and the file names contain the visualization and layer index names. . Open the panel menu, then select *Inspect*. -. Click *Download CSV*, then select the CSV type from the dropdown: +. Click *Download CSV*, then select the format type from the dropdown: * *Formatted CSV* — Contains human-readable dates and numbers. * *Unformatted* — Best used for computer use. -+ -[role="screenshot"] -image:images/Dashboard_inspect.png[Inspect in dashboard] [float] [[defer-loading-panels-below-the-fold]] diff --git a/docs/user/dashboard/lens.asciidoc b/docs/user/dashboard/lens.asciidoc index 774b50caeba6ac..6b61c9fe6a9a3b 100644 --- a/docs/user/dashboard/lens.asciidoc +++ b/docs/user/dashboard/lens.asciidoc @@ -1,14 +1,18 @@ [[lens]] -=== Lens +=== Create visualizations with Lens +++++ +Lens +++++ -To create visualization panels with *Lens*, you drag the data fields you want to visualize to the workspace, then *Lens* uses heuristics to apply each field and create a visualization for you. +To create a visualization, drag the data fields you want to visualize to the workspace, then *Lens* uses visualization best practices to apply the fields and create a visualization that best displays the data. With *Lens*, you can: -* Create area, line, and bar charts with multiple layers, indices, and visualization types. -* Change the aggregation function and labels to customize the data. +* Create area, line, and bar charts with layers to display multiple indices and chart types. +* Change the aggregation function to change the data in the visualization. * Perform math on aggregations using *Formula*. -* Use time shifts to compare data for two time intervals, such as month over month. +* Use time shifts to compare the data in two time intervals, such as month over month. +* Create custom tables. ++++