Create a machine learning job
We have covered different types of jobs that we can create in X-Pack machine learning, so now we will create the jobs, execute them, and then see a result of the analysis.
Before starting job creation, we have to ensure the following system requirements for running machine learning jobs:
- Elasticsearch 6.x for storing the index data on which we will perform the machine learning analysis
- X-Pack 6.x to provide the machine learning capabilities for Elasticsearch as well as Kibana
- Kibana 6.x to provide the UI for creating, executing, and obtaining the machine learning analysis results
I will show you the index pattern to be used. I am going to use the server-metrics index data in which we have the following data format:
"_index" : "server-metrics", "_type" : "metric", "_id" : "258427", "_score" : 1.0, "_source" : { "@timestamp" : "2018-04-01T01:10:00", "accept" : 54709, "deny" : 4437, "host...