Skip to content

Commit

Permalink
[DOCS] Adds quick start (elastic#78822)
Browse files Browse the repository at this point in the history
* [DOCS] Getting started refresh

* Dashboard changes

* Discover and Dashboard changes

* [DOCS] Adds quick start

* Redirects

* Redirects pt 2

* Redirects pt

* More redirect issues

* Removed second chunk of KQL tasks

* Review comments
# Conflicts:
#	docs/getting-started/tutorial-define-index.asciidoc
#	docs/getting-started/tutorial-full-experience.asciidoc
#	docs/images/tutorial-dashboard.png
#	docs/images/tutorial-full-inspect1.png
#	docs/images/tutorial-pattern-1.png
#	docs/images/tutorial-visualize-bar-1.5.png
#	docs/images/tutorial-visualize-map-2.png
#	docs/images/tutorial-visualize-md-2.png
#	docs/images/tutorial-visualize-pie-2.png
#	docs/images/tutorial-visualize-pie-3.png
#	docs/images/tutorial-visualize-wizard-step-1.png
  • Loading branch information
KOTungseth committed Oct 8, 2020
1 parent c3dfbfa commit 31d007f
Show file tree
Hide file tree
Showing 32 changed files with 157 additions and 457 deletions.
Binary file modified docs/getting-started/images/add-sample-data.png
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/getting-started/images/gs_maps_time_filter.png
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/getting-started/images/tutorial-sample-dashboard.png
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/getting-started/images/tutorial-sample-filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Binary file modified docs/getting-started/images/tutorial-sample-query.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/getting-started/images/tutorial-treemap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
142 changes: 142 additions & 0 deletions docs/getting-started/quick-start-guide.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
[[get-started]]
== Quick start

To quickly get up and running with {kib}, set up on Cloud, then add a sample data set that you can explore and analyze.

When you've finished, you'll know how to:

* <<explore-the-data,Explore the data with *Discover*.>>

* <<view-and-analyze-the-data,Gain insight into the data with *Dashboard*.>>

[float]
=== Before you begin
When security is enabled, you must have `read`, `write`, and `manage` privileges on the `kibana_sample_data_*` indices. For more information, refer to {ref}/security-privileges.html[Security privileges].

[float]
[[set-up-on-cloud]]
== Set up on cloud

include::{docs-root}/shared/cloud/ess-getting-started.asciidoc[]

[float]
[[gs-get-data-into-kibana]]
== Add the sample data

Sample data sets come with sample visualizations, dashboards, and more to help you explore {kib} without adding your own data.

. From the home page, click *Try our sample data*.

. On the *Sample eCommerce orders* card, click *Add data*.
+
[role="screenshot"]
image::getting-started/images/add-sample-data.png[]

[float]
[[explore-the-data]]
== Explore the data

*Discover* displays an interactive histogram that shows the distribution of of data, or documents, over time, and a table that lists the fields for each document that matches the index. By default, all fields are shown for each matching document.

. Open the menu, then click *Discover*.

. Change the <<set-time-filter, time filter>> to *Last 7 days*.
+
[role="screenshot"]
image::images/tutorial-discover-2.png[]

. To focus in on the documents you want to view, use the <<kuery-query,{kib} Query Language>>. In the *KQL* search field, enter:
+
[source,text]
products.taxless_price >= 60 AND category : Women's Clothing
+
The query returns the women's clothing orders for $60 and more.
+
[role="screenshot"]
image::images/tutorial-discover-4.png[]

. Hover over the list of *Available fields*, then click *+* next to the fields you want to view in the table.
+
For example, when you add the *category* field, the table displays the product categories for the orders.
+
[role="screenshot"]
image::images/tutorial-discover-3.png[]
+
For more information, refer to <<discover, *Discover*>>.

[float]
[[view-and-analyze-the-data]]
== View and analyze the data

A dashboard is a collection of panels that you can use to view and analyze the data. Panels contain visualizations, interactive controls, Markdown, and more.

. Open the menu, then click *Dashboard*.

. Click *[eCommerce] Revenue Dashboard*.
+
[role="screenshot"]
image::getting-started/images/tutorial-sample-dashboard.png[]

[float]
[[filter-and-query-the-data]]
=== Filter the data

To focus in on the data you want to view on the dashboard, use filters.

. From the *Controls* visualization, make a selection from the *Manufacturer* and *Category* dropdowns, then click *Apply changes*.
+
For example, the following dashboard shows the data for women's clothing from Gnomehouse.
+
[role="screenshot"]
image::getting-started/images/tutorial-sample-filter.png[]

. To manually add a filter, click *Add filter*, then specify the options.
+
For example, to view the orders for Wednesday, select *day_of_week* from the *Field* dropdown, select *is* from the *Operator* dropdown, then select *Wednesday* from the *Value* dropdown.
+
[role="screenshot"]
image::getting-started/images/tutorial-sample-filter2.png[]

. When you are done, remove the filters.
+
For more information, refer to <<dashboard,*Dashboard*>>.

[float]
[[create-a-visualization]]
=== Create a visualization

To create a treemap that shows the top regions and manufacturers, use *Lens*, then add the treemap to the dashboard.

. From the {kib} toolbar, click *Edit*, then click *Create new*.

. On the *New Visualization* window, click *Lens*.

. From the *Available fields* list, drag and drop the following fields to the visualization builder:

* *geoip.city_name*

* *manufacturer.keyword*
+
. From the visualization dropdown, select *Treemap*.
+
[role="screenshot"]
image::getting-started/images/tutorial-visualization-dropdown.png[Visualization dropdown with Treemap selected]

. Click *Save*.

. On the *Save Lens visualization*, enter a title and make sure *Add to Dashboard after saving* is selected, then click *Save and return*.
+
The treemap appears as the last visualization on the dashboard.
+
[role="screenshot"]
image::getting-started/images/tutorial-final-dashboard.gif[Final dashboard with new treemap visualization]
+
For more information, refer to <<lens, *Lens*>>.

[float]
[[quick-start-whats-next]]
== What's next?

If you are you ready to add your own data, refer to <<connect-to-elasticsearch,Add data to {kib}>>.

If you want to ingest your data, refer to {ingest-guide}/ingest-management-getting-started.html[Quick start: Get logs and metrics into the Elastic Stack].
35 changes: 0 additions & 35 deletions docs/getting-started/tutorial-discovering.asciidoc

This file was deleted.

159 changes: 0 additions & 159 deletions docs/getting-started/tutorial-sample-data.asciidoc

This file was deleted.

Loading

0 comments on commit 31d007f

Please sign in to comment.