Test run of new docs
This commit is contained in:
70
docs/reference-ml-get_overall_buckets.asciidoc
Normal file
70
docs/reference-ml-get_overall_buckets.asciidoc
Normal file
@ -0,0 +1,70 @@
|
||||
[[reference-ml-get_overall_buckets]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.ml.getOverallBuckets
|
||||
|
||||
Get overall bucket results. Retrievs overall bucket results that summarize the bucket results of multiple anomaly detection jobs. The `overall_score` is calculated by combining the scores of all the buckets within the overall bucket span. First, the maximum `anomaly_score` per anomaly detection job in the overall bucket is calculated. Then the `top_n` of those scores are averaged to result in the `overall_score`. This means that you can fine-tune the `overall_score` so that it is more or less sensitive to the number of jobs that detect an anomaly at the same time. For example, if you set `top_n` to `1`, the `overall_score` is the maximum bucket score in the overall bucket. Alternatively, if you set `top_n` to the number of jobs, the `overall_score` is high only when all jobs detect anomalies in that overall bucket. If you set the `bucket_span` parameter (to a value greater than its default), the `overall_score` is the maximum `overall_score` of the overall buckets that have a span equal to the jobs' largest bucket span.
|
||||
|
||||
{ref}/ml-get-overall-buckets.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(MlGetOverallBucketsRequest, options?): Promise<MlGetOverallBucketsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `MlGetOverallBucketsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface MlGetOverallBucketsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
job_id: <<shared-type-id, Id>>
|
||||
allow_no_match?: boolean
|
||||
bucket_span?: <<shared-type-duration, Duration>>
|
||||
end?: <<shared-type-date-time, DateTime>>
|
||||
exclude_interim?: boolean
|
||||
overall_score?: <<shared-type-double, double>> | string
|
||||
start?: <<shared-type-date-time, DateTime>>
|
||||
top_n?: <<shared-type-integer, integer>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `MlGetOverallBucketsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface MlGetOverallBucketsResponse {
|
||||
count: <<shared-type-long, long>>
|
||||
overall_buckets: MlOverallBucket[]
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user