2017-04-04 18:26:39 -04:00
[[ml-getting-started]]
2017-11-30 13:42:54 -05:00
== Getting Started with Machine Learning
++++
<titleabbrev>Getting Started</titleabbrev>
++++
2017-04-04 18:26:39 -04:00
2017-05-02 15:45:42 -04:00
Ready to get some hands-on experience with the {xpackml} features? This
2017-04-21 21:56:07 -04:00
tutorial shows you how to:
2017-04-27 12:08:08 -04:00
* Load a sample data set into {es}
2017-06-27 16:30:15 -04:00
* Create single and multi-metric {ml} jobs in {kib}
2017-04-21 21:56:07 -04:00
* Use the results to identify possible anomalies in the data
At the end of this tutorial, you should have a good idea of what {ml} is and
will hopefully be inspired to use it to detect anomalies in your own data.
2017-06-27 16:30:15 -04:00
You might also be interested in these video tutorials, which use the same sample
data:
2017-04-21 21:56:07 -04:00
2017-05-01 14:27:48 -04:00
* https://www.elastic.co/videos/machine-learning-tutorial-creating-a-single-metric-job[Machine Learning for the Elastic Stack: Creating a single metric job]
* https://www.elastic.co/videos/machine-learning-tutorial-creating-a-multi-metric-job[Machine Learning for the Elastic Stack: Creating a multi-metric job]
2017-04-17 19:28:28 -04:00
[float]
[[ml-gs-sysoverview]]
=== System Overview
To follow the steps in this tutorial, you will need the following
components of the Elastic Stack:
2017-04-27 12:08:08 -04:00
* {es} {version}, which stores the data and the analysis results
* {kib} {version}, which provides a helpful user interface for creating and
2018-04-04 14:59:31 -04:00
viewing jobs
2017-04-27 11:04:46 -04:00
2017-04-17 19:28:28 -04:00
See the https://www.elastic.co/support/matrix[Elastic Support Matrix] for
2017-04-21 21:56:07 -04:00
information about supported operating systems.
2017-04-17 19:28:28 -04:00
See {stack-ref}/installing-elastic-stack.html[Installing the Elastic Stack] for
information about installing each of the components.
2017-04-27 12:08:08 -04:00
NOTE: To get started, you can install {es} and {kib} on a
single VM or even on your laptop (requires 64-bit OS).
2017-04-27 11:04:46 -04:00
As you add more data and your traffic grows,
2017-04-27 12:08:08 -04:00
you'll want to replace the single {es} instance with a cluster.
2017-04-17 19:28:28 -04:00
2018-04-12 13:23:07 -04:00
By default, when you install {es} and {kib}, {xpack} is installed and the
{ml} features are enabled. You cannot use {ml} with the free basic license, but
you can try all of the {xpack} features with a <<license-management,trial license>>.
If you have multiple nodes in your cluster, you can optionally dedicate nodes to
2018-04-04 14:59:31 -04:00
specific purposes. If you want to control which nodes are
_machine learning nodes_ or limit which nodes run resource-intensive
2017-06-19 21:01:52 -04:00
activity related to jobs, see <<xpack-settings>>.
2017-04-17 19:28:28 -04:00
2017-04-21 21:56:07 -04:00
[float]
[[ml-gs-users]]
==== Users, Roles, and Privileges
2017-05-02 15:45:42 -04:00
The {xpackml} features implement cluster privileges and built-in roles to
2017-04-21 21:56:07 -04:00
make it easier to control which users have authority to view and manage the jobs,
2017-05-02 15:45:42 -04:00
{dfeeds}, and results.
2017-04-21 21:56:07 -04:00
By default, you can perform all of the steps in this tutorial by using the
2017-06-29 16:27:57 -04:00
built-in `elastic` super user. However, the password must be set before the user
can do anything. For information about how to set that password, see
2017-04-27 20:15:57 -04:00
<<security-getting-started>>.
If you are performing these steps in a production environment, take extra care
because `elastic` has the `superuser` role and you could inadvertently make
significant changes to the system. You can alternatively assign the
`machine_learning_admin` and `kibana_user` roles to a user ID of your choice.
2017-04-21 21:56:07 -04:00
For more information, see <<built-in-roles>> and <<privileges-list-cluster>>.
2017-04-17 19:28:28 -04:00
2017-11-29 15:03:51 -05:00
include::getting-started-data.asciidoc[]
2017-12-04 16:11:45 -05:00
include::getting-started-wizards.asciidoc[]
2017-11-29 15:03:51 -05:00
include::getting-started-single.asciidoc[]
2017-06-27 16:30:15 -04:00
include::getting-started-multi.asciidoc[]
2018-01-19 15:43:58 -05:00
include::getting-started-forecast.asciidoc[]
2017-06-27 16:30:15 -04:00
include::getting-started-next.asciidoc[]