Now, we are going to create a single metric job for anomaly detection. We will check this for the total request received field by the application. As we have already discussed, there is a single detector in a single metric job. This detector defines the types of analysis to perform, such as avg, max, and min. To create a single metric job, we need to follow these steps:
- Click on the Create new job button on the machine learning page.
- Select the index pattern for machine learning. Here, we will the pick server-metrics index of Elasticsearch.
- From the Use a wizard section, we need to click on the Single metric option:
- Now, we need to provide the aggregation, field, and bucket span in order to run the ...