Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 6ead123

Browse files
Merge pull request #7 from opendistro/master
merge
2 parents 093fd1d + e2d4581 commit 6ead123

34 files changed

+1587
-106
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This repository contains the documentation for Open Distro for Elasticsearch, a
5656

5757
Use `curl -XGET https://localhost:9200 -u admin:admin -k` to verify the Elasticsearch version.
5858

59-
1. Update the plugin compatibility table in `docs/install/plugin.md`.
59+
1. Update the plugin compatibility table in `docs/install/plugin.md` and `docs/kibana/plugins.md`.
6060

6161
Use `curl -XGET https://localhost:9200/_cat/plugins -u admin:admin -k` to get the correct version strings.
6262

THIRD-PARTY

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
** (MIT License) Just the Docs 0.2.7 - https://github.com/pmarsceill/just-the-docs
1+
** (MIT License) Just the Docs 0.3.0 - https://github.com/pmarsceill/just-the-docs
22

33
Copyright (c) 2016 Patrick Marsceill
44

5-
** (MIT License) Jekyll Pure Liquid Table of Contents 1.0.8 - https://github.com/allejo/jekyll-toc
5+
** (MIT License) Jekyll Pure Liquid Table of Contents 1.0.12 - https://github.com/allejo/jekyll-toc
66

77
Copyright (c) 2017 Vladimir Jimenez
88

9-
** (Apache License, Version 2.0) Elasticsearch 7.4.2 - https://github.com/elastic/elasticsearch
9+
** (Apache License, Version 2.0) Elasticsearch 7.9.2 - https://github.com/elastic/elasticsearch
1010

1111
Elasticsearch
1212
Copyright 2009-2018 Elasticsearch

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ baseurl: "/for-elasticsearch-docs" # the subpath of your site, e.g. /blog
2020
url: "https://opendistro.github.io" # the base hostname & protocol for your site, e.g. http://example.com
2121
permalink: pretty
2222

23-
odfe_version: 1.10.1
23+
odfe_version: 1.11.0
2424
es_version: 7.9.1
2525

2626
# Build settings

docs/ad/index.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,39 @@ For example, if you choose `min()`, the detector focuses on finding anomalies ba
5555
You can add a maximum of five features for a detector.
5656
{: .note }
5757

58-
1. On the **Features** page, select **Add features**.
59-
1. Enter the **Name** of the feature.
58+
1. On the **Model configuration** page, enter the **Feature name**.
6059
1. For **Find anomalies based on**, choose the method to find anomalies. For **Field Value** menu, choose the **field** and the **aggregation method**. Or choose **Custom expression**, and add in your own JSON aggregation query.
61-
1. Preview sample anomalies and adjust the feature settings if needed.
62-
- For sample previews, the anomaly detection plugin selects a small number of data samples---for example, one data point every 30 minutes---and uses interpolation to estimate the remaining data points to approximate the actual feature data. It loads this sample dataset into the detector. The detector uses this sample dataset to generate a sample preview of anomaly results.
60+
61+
#### (Optional) Set a category field
62+
63+
You can categorize anomalies based on a keyword or IP field type.
64+
65+
If you specify a category in the same time series but sliced with a different dimension like IP addresses, product IDs, country codes, and so on, you’ll see a granular view of anomalies within each entity of that field. This helps to dive deeper into anomalies of a unique entity or ID and isolate and debug issues.
66+
67+
To set a category field, choose **Enable a category field** and select a field.
68+
69+
Only a certain number of unique entities are supported in the category field. Use the following equation to calculate the recommended total number of entities number supported in a cluster:
70+
71+
```
72+
(JvmHeapSizeInMb / 20) * (DataNodesCount)
73+
```
74+
75+
For example, for a cluster with 3 data nodes, each with 8G of JVM heap size, the total number of unique entities supported is (8096 / 20 ) * 3 = 1200.
76+
77+
#### Set a window size
78+
79+
Set the number of aggregation intervals from your data stream to consider in a detection window. We recommend you choose this value based on your actual data to see which one leads to the best results for your use case.
80+
81+
Based on experiments performed on a wide variety of one-dimensional data streams, we recommend using a window size between 1 and 16. The default window size is 8.
82+
83+
If you expect missing values in your data or if you want the anomalies based on the current interval, choose 1. If your data is continuously ingested and you want the anomalies based on multiple intervals, choose a larger window size.
84+
85+
#### Preview sample anomalies
86+
87+
Preview sample anomalies and adjust the feature settings if needed.
88+
For sample previews, the anomaly detection plugin selects a small number of data samples---for example, one data point every 30 minutes---and uses interpolation to estimate the remaining data points to approximate the actual feature data. It loads this sample dataset into the detector. The detector uses this sample dataset to generate a sample preview of anomaly results.
6389
Examine the sample preview and use it to fine-tune your feature configurations, for example, enable or disable features, to get more accurate results.
90+
6491
1. Choose **Save and start detector**.
6592
1. Choose between automatically starting the detector (recommended) or manually starting the detector at a later time.
6693

@@ -86,6 +113,11 @@ If you see the detector pending in "initialization" for longer than a day, aggre
86113

87114
Anomaly grade is a number between 0 and 1 that indicates the level of severity of how anomalous a data point is. An anomaly grade of 0 represents “not an anomaly,” and a non-zero value represents the relative severity of the anomaly. The confidence score is an estimate of the probability that the reported anomaly grade matches the expected anomaly grade. Confidence increases as the model observes more data and learns the data behavior and trends. Note that confidence is distinct from model accuracy.
88115

116+
If you set the category field, you see an additional **Heat map** chart. The heat map correlates results for anomalous entities.
117+
118+
Choose a filled rectangle to see a more detailed view of the anomaly.
119+
{: .note }
120+
89121
### Step 4: Set up alerts
90122

91123
To create a monitor to send you notifications when any anomalies are detected, choose **Set up alerts**.

docs/alerting/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ Kibana
1111

1212
The alerting feature notifies you when data from one or more Elasticsearch indices meets certain conditions. For example, you might want to notify a [Slack](https://slack.com/) channel if your application logs more than five HTTP 503 errors in one hour, or you might want to page a developer if no new documents have been indexed in the past 20 minutes.
1313

14-
Monitors run as the `admin` user, which means that monitors can query all documents in all indices and do not consider the roles of the user who created the monitor. If your cluster contains sensitive data, we recommend [removing the alerting plugin](../install/plugins/#remove-plugins).
15-
{: .warning }
16-
1714
To get started, choose **Alerting** in Kibana.
1815

1916
![Kibana side bar with link](../images/alerting.png)

0 commit comments

Comments
 (0)