[DOCS] More fixes for build.gradle errors (elastic/x-pack-elasticsearch#1334)

Original commit: elastic/x-pack-elasticsearch@578f727494
This commit is contained in:
Lisa Cawley 2017-05-05 11:57:20 -07:00 committed by GitHub
parent 85cf6a1868
commit 30c616a232
7 changed files with 58 additions and 2 deletions

View File

@ -10,6 +10,13 @@ apply plugin: 'elasticsearch.docs-test'
* entirely and have a party! There will be cake and everything.... */
buildRestTests.expectedUnconvertedCandidates = [
'en/ml/getting-started.asciidoc',
'en/ml/functions/count.asciidoc',
'en/ml/functions/geo.asciidoc',
'en/ml/functions/info.asciidoc',
'en/ml/functions/metric.asciidoc',
'en/ml/functions/rare.asciidoc',
'en/ml/functions/sum.asciidoc',
'en/ml/functions/time.asciidoc',
'en/rest-api/security/users.asciidoc',
'en/rest-api/security/tokens.asciidoc',
'en/rest-api/watcher/put-watch.asciidoc',

View File

@ -11,3 +11,13 @@ input data.
The `field_name` that you supply must be a string of the form
`latitude,longitude`. The `latitude` and `longitude` must be in the range -180
to 180 and represent a point on the surface of the Earth.
////
[source,js]
--------------------------------------------------
{ "function" : "lat_long", "fieldName" : "transactionCoordinates", "byFieldName" : "creditCardNumber" }
--------------------------------------------------
////

View File

@ -14,7 +14,10 @@ If you want to monitor for unusually high amounts of information, use `high_info
If want to look at drops in information content, use `low_info_content`.
////
info_content:: information content
high_info_content::: information content
[source,js]
--------------------------------------------------
{ "function" : "info_content", "fieldName" : "subdomain", "overFieldName" : "highest_registered_domain" }
--------------------------------------------------
////

View File

@ -33,4 +33,13 @@ varp:: population variance
high_varp::: ""
low_varp::: ""
[source,js]
--------------------------------------------------
{ "function" : "min", "fieldName" : "amt", "byFieldName" : "product" }
--------------------------------------------------
////

View File

@ -31,4 +31,12 @@ for typical data.
rare:: rare items
freq_rare:: frequently rare items
[source,js]
--------------------------------------------------
{ "function" : "min", "fieldName" : "amt", "byFieldName" : "product" }
--------------------------------------------------
////

View File

@ -23,4 +23,12 @@ example, transactions per minute.
TBD: Incorporate from prelert docs?:
Ensure you are familiar with our advice on Summarization of Input Data, as this is likely to provide
a more appropriate method to using the sum function.
[source,js]
--------------------------------------------------
{ "function" : "high_sum", "fieldName" : "cs_bytes", "overFieldName" : "cs_host" }
--------------------------------------------------
////

View File

@ -29,3 +29,14 @@ This situation occurs because the actual time of the event (as measured against
baseline) has changed. This situation is treated as a step change in behavior and the new
times will be learned quickly.
====
/////
[source,js]
--------------------------------------------------
{ "function" : "time_of_day", "byFieldName" : "process" }
--------------------------------------------------
/////