ml-shared.asciidoc 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404
  1. tag::aggregations[]
  2. If set, the {dfeed} performs aggregation searches. Support for aggregations is
  3. limited and should be used only with low cardinality data. For more information,
  4. see
  5. {ml-docs}/ml-configuring-aggregation.html[Aggregating data for faster performance].
  6. end::aggregations[]
  7. tag::allow-lazy-open[]
  8. Advanced configuration option. Specifies whether this job can open when there is
  9. insufficient {ml} node capacity for it to be immediately assigned to a node. The
  10. default value is `false`; if a {ml} node with capacity to run the job cannot
  11. immediately be found, the <<ml-open-job,open {anomaly-jobs} API>> returns an
  12. error. However, this is also subject to the cluster-wide
  13. `xpack.ml.max_lazy_ml_nodes` setting; see <<advanced-ml-settings>>. If this
  14. option is set to `true`, the <<ml-open-job,open {anomaly-jobs} API>> does not
  15. return an error and the job waits in the `opening` state until sufficient {ml}
  16. node capacity is available.
  17. end::allow-lazy-open[]
  18. tag::allow-no-datafeeds[]
  19. Specifies what to do when the request:
  20. +
  21. --
  22. * Contains wildcard expressions and there are no {dfeeds} that match.
  23. * Contains the `_all` string or no identifiers and there are no matches.
  24. * Contains wildcard expressions and there are only partial matches.
  25. The default value is `true`, which returns an empty `datafeeds` array when
  26. there are no matches and the subset of results when there are partial matches.
  27. If this parameter is `false`, the request returns a `404` status code when there
  28. are no matches or only partial matches.
  29. --
  30. end::allow-no-datafeeds[]
  31. tag::allow-no-jobs[]
  32. Specifies what to do when the request:
  33. +
  34. --
  35. * Contains wildcard expressions and there are no jobs that match.
  36. * Contains the `_all` string or no identifiers and there are no matches.
  37. * Contains wildcard expressions and there are only partial matches.
  38. The default value is `true`, which returns an empty `jobs` array
  39. when there are no matches and the subset of results when there are partial
  40. matches. If this parameter is `false`, the request returns a `404` status code
  41. when there are no matches or only partial matches.
  42. --
  43. end::allow-no-jobs[]
  44. tag::allow-no-match[]
  45. Specifies what to do when the request:
  46. +
  47. --
  48. * Contains wildcard expressions and there are no {dfanalytics-jobs} that match.
  49. * Contains the `_all` string or no identifiers and there are no matches.
  50. * Contains wildcard expressions and there are only partial matches.
  51. The default value is `true`, which returns an empty `data_frame_analytics` array
  52. when there are no matches and the subset of results when there are partial
  53. matches. If this parameter is `false`, the request returns a `404` status code
  54. when there are no matches or only partial matches.
  55. --
  56. end::allow-no-match[]
  57. tag::analysis[]
  58. Defines the type of {dfanalytics} you want to perform on your source index. For
  59. example: `outlier_detection`. See <<ml-dfa-analysis-objects>>.
  60. end::analysis[]
  61. tag::analysis-config[]
  62. The analysis configuration, which specifies how to analyze the data. After you
  63. create a job, you cannot change the analysis configuration; all the properties
  64. are informational.
  65. end::analysis-config[]
  66. tag::analysis-limits[]
  67. Limits can be applied for the resources required to hold the mathematical models
  68. in memory. These limits are approximate and can be set per job. They do not
  69. control the memory used by other processes, for example the {es} Java processes.
  70. end::analysis-limits[]
  71. tag::assignment-explanation-anomaly-jobs[]
  72. For open {anomaly-jobs} only, contains messages relating to the selection
  73. of a node to run the job.
  74. end::assignment-explanation-anomaly-jobs[]
  75. tag::assignment-explanation-datafeeds[]
  76. For started {dfeeds} only, contains messages relating to the selection of a
  77. node.
  78. end::assignment-explanation-datafeeds[]
  79. tag::assignment-explanation-dfanalytics[]
  80. Contains messages relating to the selection of a node.
  81. end::assignment-explanation-dfanalytics[]
  82. tag::background-persist-interval[]
  83. Advanced configuration option. The time between each periodic persistence of the
  84. model. The default value is a randomized value between 3 to 4 hours, which
  85. avoids all jobs persisting at exactly the same time. The smallest allowed value
  86. is 1 hour.
  87. +
  88. --
  89. TIP: For very large models (several GB), persistence could take 10-20 minutes,
  90. so do not set the `background_persist_interval` value too low.
  91. --
  92. end::background-persist-interval[]
  93. tag::bucket-allocation-failures-count[]
  94. The number of buckets for which new entities in incoming data were not processed
  95. due to insufficient model memory. This situation is also signified by a
  96. `hard_limit: memory_status` property value.
  97. end::bucket-allocation-failures-count[]
  98. tag::bucket-count[]
  99. The number of buckets processed.
  100. end::bucket-count[]
  101. tag::bucket-count-anomaly-jobs[]
  102. The number of bucket results produced by the job.
  103. end::bucket-count-anomaly-jobs[]
  104. tag::bucket-span[]
  105. The size of the interval that the analysis is aggregated into, typically between
  106. `5m` and `1h`. The default value is `5m`. If the {anomaly-job} uses a {dfeed}
  107. with {ml-docs}/ml-configuring-aggregation.html[aggregations], this value must be
  108. divisible by the interval of the date histogram aggregation. For more
  109. information, see {ml-docs}/ml-buckets.html[Buckets].
  110. end::bucket-span[]
  111. tag::bucket-span-results[]
  112. The length of the bucket in seconds. This value matches the `bucket_span`
  113. that is specified in the job.
  114. end::bucket-span-results[]
  115. tag::bucket-time-exponential-average[]
  116. Exponential moving average of all bucket processing times, in milliseconds.
  117. end::bucket-time-exponential-average[]
  118. tag::bucket-time-exponential-average-hour[]
  119. Exponentially-weighted moving average of bucket processing times
  120. calculated in a 1 hour time window, in milliseconds.
  121. end::bucket-time-exponential-average-hour[]
  122. tag::bucket-time-maximum[]
  123. Maximum among all bucket processing times, in milliseconds.
  124. end::bucket-time-maximum[]
  125. tag::bucket-time-minimum[]
  126. Minimum among all bucket processing times, in milliseconds.
  127. end::bucket-time-minimum[]
  128. tag::bucket-time-total[]
  129. Sum of all bucket processing times, in milliseconds.
  130. end::bucket-time-total[]
  131. tag::by-field-name[]
  132. The field used to split the data. In particular, this property is used for
  133. analyzing the splits with respect to their own history. It is used for finding
  134. unusual values in the context of the split.
  135. end::by-field-name[]
  136. tag::calendar-id[]
  137. A string that uniquely identifies a calendar.
  138. end::calendar-id[]
  139. tag::categorization-analyzer[]
  140. If `categorization_field_name` is specified, you can also define the analyzer
  141. that is used to interpret the categorization field. This property cannot be used
  142. at the same time as `categorization_filters`. The categorization analyzer
  143. specifies how the `categorization_field` is interpreted by the categorization
  144. process. The syntax is very similar to that used to define the `analyzer` in the
  145. <<indices-analyze,Analyze endpoint>>. For more information, see
  146. {ml-docs}/ml-configuring-categories.html[Categorizing log messages].
  147. +
  148. The `categorization_analyzer` field can be specified either as a string or as an
  149. object. If it is a string it must refer to a
  150. <<analysis-analyzers,built-in analyzer>> or one added by another plugin. If it
  151. is an object it has the following properties:
  152. +
  153. .Properties of `categorization_analyzer`
  154. [%collapsible%open]
  155. =====
  156. `char_filter`::::
  157. (array of strings or objects)
  158. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=char-filter]
  159. `tokenizer`::::
  160. (string or object)
  161. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=tokenizer]
  162. `filter`::::
  163. (array of strings or objects)
  164. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=filter]
  165. =====
  166. end::categorization-analyzer[]
  167. tag::categorization-examples-limit[]
  168. The maximum number of examples stored per category in memory and in the results
  169. data store. The default value is 4. If you increase this value, more examples
  170. are available, however it requires that you have more storage available. If you
  171. set this value to `0`, no examples are stored.
  172. +
  173. NOTE: The `categorization_examples_limit` only applies to analysis that uses
  174. categorization. For more information, see
  175. {ml-docs}/ml-configuring-categories.html[Categorizing log messages].
  176. end::categorization-examples-limit[]
  177. tag::categorization-field-name[]
  178. If this property is specified, the values of the specified field will be
  179. categorized. The resulting categories must be used in a detector by setting
  180. `by_field_name`, `over_field_name`, or `partition_field_name` to the keyword
  181. `mlcategory`. For more information, see
  182. {ml-docs}/ml-configuring-categories.html[Categorizing log messages].
  183. end::categorization-field-name[]
  184. tag::categorization-filters[]
  185. If `categorization_field_name` is specified, you can also define optional
  186. filters. This property expects an array of regular expressions. The expressions
  187. are used to filter out matching sequences from the categorization field values.
  188. You can use this functionality to fine tune the categorization by excluding
  189. sequences from consideration when categories are defined. For example, you can
  190. exclude SQL statements that appear in your log files. For more information, see
  191. {ml-docs}/ml-configuring-categories.html[Categorizing log messages]. This
  192. property cannot be used at the same time as `categorization_analyzer`. If you
  193. only want to define simple regular expression filters that are applied prior to
  194. tokenization, setting this property is the easiest method. If you also want to
  195. customize the tokenizer or post-tokenization filtering, use the
  196. `categorization_analyzer` property instead and include the filters as
  197. `pattern_replace` character filters. The effect is exactly the same.
  198. end::categorization-filters[]
  199. tag::categorization-status[]
  200. The status of categorization for the job. Contains one of the following values:
  201. +
  202. --
  203. * `ok`: Categorization is performing acceptably well (or not being used at all).
  204. * `warn`: Categorization is detecting a distribution of categories that suggests
  205. the input data is inappropriate for categorization. Problems could be that there
  206. is only one category, more than 90% of categories are rare, the number of
  207. categories is greater than 50% of the number of categorized documents, there are
  208. no frequently matched categories, or more than 50% of categories are dead.
  209. --
  210. end::categorization-status[]
  211. tag::categorized-doc-count[]
  212. The number of documents that have had a field categorized.
  213. end::categorized-doc-count[]
  214. tag::char-filter[]
  215. One or more <<analysis-charfilters,character filters>>. In addition to the
  216. built-in character filters, other plugins can provide more character filters.
  217. This property is optional. If it is not specified, no character filters are
  218. applied prior to categorization. If you are customizing some other aspect of the
  219. analyzer and you need to achieve the equivalent of `categorization_filters`
  220. (which are not permitted when some other aspect of the analyzer is customized),
  221. add them here as
  222. <<analysis-pattern-replace-charfilter,pattern replace character filters>>.
  223. end::char-filter[]
  224. tag::chunking-config[]
  225. {dfeeds-cap} might be required to search over long time periods, for several
  226. months or years. This search is split into time chunks in order to ensure the
  227. load on {es} is managed. Chunking configuration controls how the size of these
  228. time chunks are calculated and is an advanced configuration option.
  229. +
  230. .Properties of `chunking_config`
  231. [%collapsible%open]
  232. ====
  233. `mode`:::
  234. (string)
  235. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=mode]
  236. `time_span`:::
  237. (<<time-units,time units>>)
  238. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=time-span]
  239. ====
  240. end::chunking-config[]
  241. tag::class-assignment-objective[]
  242. Defines the objective to optimize when assigning class labels:
  243. `maximize_accuracy` or `maximize_minimum_recall`. When maximizing accuracy,
  244. class labels are chosen to maximize the number of correct predictions. When
  245. maximizing minimum recall, labels are chosen to maximize the minimum recall for
  246. any class. Defaults to `maximize_minimum_recall`.
  247. end::class-assignment-objective[]
  248. tag::compute-feature-influence[]
  249. Specifies whether the feature influence calculation is enabled. Defaults to
  250. `true`.
  251. end::compute-feature-influence[]
  252. tag::custom-preprocessor[]
  253. (Optional, boolean)
  254. Boolean value indicating if the analytics job created the preprocessor
  255. or if a user provided it. This adjusts the feature importance calculation.
  256. When `true`, the feature importance calculation returns importance for the
  257. processed feature. When `false`, the total importance of the original field
  258. is returned. Default is `false`.
  259. end::custom-preprocessor[]
  260. tag::custom-rules[]
  261. An array of custom rule objects, which enable you to customize the way detectors
  262. operate. For example, a rule may dictate to the detector conditions under which
  263. results should be skipped. For more examples, see
  264. {ml-docs}/ml-configuring-detector-custom-rules.html[Customizing detectors with custom rules].
  265. end::custom-rules[]
  266. tag::custom-rules-actions[]
  267. The set of actions to be triggered when the rule applies. If
  268. more than one action is specified the effects of all actions are combined. The
  269. available actions include:
  270. * `skip_result`: The result will not be created. This is the default value.
  271. Unless you also specify `skip_model_update`, the model will be updated as usual
  272. with the corresponding series value.
  273. * `skip_model_update`: The value for that series will not be used to update the
  274. model. Unless you also specify `skip_result`, the results will be created as
  275. usual. This action is suitable when certain values are expected to be
  276. consistently anomalous and they affect the model in a way that negatively
  277. impacts the rest of the results.
  278. end::custom-rules-actions[]
  279. tag::custom-rules-scope[]
  280. An optional scope of series where the rule applies. A rule must either
  281. have a non-empty scope or at least one condition. By default, the scope includes
  282. all series. Scoping is allowed for any of the fields that are also specified in
  283. `by_field_name`, `over_field_name`, or `partition_field_name`. To add a scope
  284. for a field, add the field name as a key in the scope object and set its value
  285. to an object with the following properties:
  286. end::custom-rules-scope[]
  287. tag::custom-rules-scope-filter-id[]
  288. The id of the filter to be used.
  289. end::custom-rules-scope-filter-id[]
  290. tag::custom-rules-scope-filter-type[]
  291. Either `include` (the rule applies for values in the filter) or `exclude` (the
  292. rule applies for values not in the filter). Defaults to `include`.
  293. end::custom-rules-scope-filter-type[]
  294. tag::custom-rules-conditions[]
  295. An optional array of numeric conditions when the rule applies. A rule must
  296. either have a non-empty scope or at least one condition. Multiple conditions are
  297. combined together with a logical `AND`. A condition has the following
  298. properties:
  299. end::custom-rules-conditions[]
  300. tag::custom-rules-conditions-applies-to[]
  301. Specifies the result property to which the condition applies. The available
  302. options are `actual`, `typical`, `diff_from_typical`, `time`. If your detector
  303. uses `lat_long`, `metric`, `rare`, or `freq_rare` functions, you can only
  304. specify conditions that apply to `time`.
  305. end::custom-rules-conditions-applies-to[]
  306. tag::custom-rules-conditions-operator[]
  307. Specifies the condition operator. The available options are `gt` (greater than),
  308. `gte` (greater than or equals), `lt` (less than) and `lte` (less than or
  309. equals).
  310. end::custom-rules-conditions-operator[]
  311. tag::custom-rules-conditions-value[]
  312. The value that is compared against the `applies_to` field using the `operator`.
  313. end::custom-rules-conditions-value[]
  314. tag::custom-settings[]
  315. Advanced configuration option. Contains custom meta data about the job. For
  316. example, it can contain custom URL information as shown in
  317. {ml-docs}/ml-configuring-url.html[Adding custom URLs to {ml} results].
  318. end::custom-settings[]
  319. tag::daily-model-snapshot-retention-after-days[]
  320. Advanced configuration option, which affects the automatic removal of old model
  321. snapshots for this job. It specifies a period of time (in days) after which only
  322. the first snapshot per day is retained. This period is relative to the timestamp
  323. of the most recent snapshot for this job. Valid values range from `0` to
  324. `model_snapshot_retention_days`. For new jobs, the default value is `1`. For
  325. jobs created before version 7.8.0, the default value matches
  326. `model_snapshot_retention_days`. For more information, refer to
  327. {ml-docs}/ml-model-snapshots.html[Model snapshots].
  328. end::daily-model-snapshot-retention-after-days[]
  329. tag::data-description[]
  330. The data description defines the format of the input data when you send data to
  331. the job by using the <<ml-post-data,post data>> API. Note that when configure
  332. a {dfeed}, these properties are automatically set. When data is received via
  333. the <<ml-post-data,post data>> API, it is not stored in {es}. Only the results
  334. for {anomaly-detect} are retained.
  335. +
  336. .Properties of `data_description`
  337. [%collapsible%open]
  338. ====
  339. `format`:::
  340. (string) Only `JSON` format is supported at this time.
  341. `time_field`:::
  342. (string) The name of the field that contains the timestamp.
  343. The default value is `time`.
  344. `time_format`:::
  345. (string)
  346. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=time-format]
  347. ====
  348. end::data-description[]
  349. tag::datafeed-id[]
  350. A numerical character string that uniquely identifies the
  351. {dfeed}. This identifier can contain lowercase alphanumeric characters (a-z
  352. and 0-9), hyphens, and underscores. It must start and end with alphanumeric
  353. characters.
  354. end::datafeed-id[]
  355. tag::datafeed-id-wildcard[]
  356. Identifier for the {dfeed}. It can be a {dfeed} identifier or a wildcard
  357. expression.
  358. end::datafeed-id-wildcard[]
  359. tag::dead-category-count[]
  360. The number of categories created by categorization that will never be assigned
  361. again because another category's definition makes it a superset of the dead
  362. category. (Dead categories are a side effect of the way categorization has no
  363. prior training.)
  364. end::dead-category-count[]
  365. tag::delayed-data-check-config[]
  366. Specifies whether the {dfeed} checks for missing data and the size of the
  367. window. For example: `{"enabled": true, "check_window": "1h"}`.
  368. +
  369. The {dfeed} can optionally search over indices that have already been read in
  370. an effort to determine whether any data has subsequently been added to the
  371. index. If missing data is found, it is a good indication that the `query_delay`
  372. option is set too low and the data is being indexed after the {dfeed} has passed
  373. that moment in time. See
  374. {ml-docs}/ml-delayed-data-detection.html[Working with delayed data].
  375. +
  376. This check runs only on real-time {dfeeds}.
  377. +
  378. .Properties of `delayed_data_check_config`
  379. [%collapsible%open]
  380. ====
  381. `check_window`::
  382. (<<time-units,time units>>) The window of time that is searched for late data.
  383. This window of time ends with the latest finalized bucket. It defaults to
  384. `null`, which causes an appropriate `check_window` to be calculated when the
  385. real-time {dfeed} runs. In particular, the default `check_window` span
  386. calculation is based on the maximum of `2h` or `8 * bucket_span`.
  387. `enabled`::
  388. (boolean) Specifies whether the {dfeed} periodically checks for delayed data.
  389. Defaults to `true`.
  390. ====
  391. end::delayed-data-check-config[]
  392. tag::dependent-variable[]
  393. Defines which field of the document is to be predicted.
  394. This parameter is supplied by field name and must match one of the fields in
  395. the index being used to train. If this field is missing from a document, then
  396. that document will not be used for training, but a prediction with the trained
  397. model will be generated for it. It is also known as continuous target variable.
  398. end::dependent-variable[]
  399. tag::desc-results[]
  400. If true, the results are sorted in descending order.
  401. end::desc-results[]
  402. tag::description-dfa[]
  403. A description of the job.
  404. end::description-dfa[]
  405. tag::dest[]
  406. The destination configuration, consisting of `index` and optionally
  407. `results_field` (`ml` by default).
  408. +
  409. .Properties of `dest`
  410. [%collapsible%open]
  411. ====
  412. `index`:::
  413. (Required, string) Defines the _destination index_ to store the results of the
  414. {dfanalytics-job}.
  415. `results_field`:::
  416. (Optional, string) Defines the name of the field in which to store the results
  417. of the analysis. Defaults to `ml`.
  418. ====
  419. end::dest[]
  420. tag::detector-description[]
  421. A description of the detector. For example, `Low event rate`.
  422. end::detector-description[]
  423. tag::detector-field-name[]
  424. The field that the detector uses in the function. If you use an event rate
  425. function such as `count` or `rare`, do not specify this field.
  426. +
  427. --
  428. NOTE: The `field_name` cannot contain double quotes or backslashes.
  429. --
  430. end::detector-field-name[]
  431. tag::detector-index[]
  432. A unique identifier for the detector. This identifier is based on the order of
  433. the detectors in the `analysis_config`, starting at zero.
  434. end::detector-index[]
  435. tag::dfas-alpha[]
  436. Regularization factor to penalize deeper trees when training decision trees.
  437. end::dfas-alpha[]
  438. tag::dfas-downsample-factor[]
  439. The value of the downsample factor.
  440. end::dfas-downsample-factor[]
  441. tag::dfas-eta-growth[]
  442. Specifies the rate at which the `eta` increases for each new tree that is added
  443. to the forest. For example, a rate of `1.05` increases `eta` by 5%.
  444. end::dfas-eta-growth[]
  445. tag::dfas-feature-bag-fraction[]
  446. The fraction of features that is used when selecting a random bag for each
  447. candidate split.
  448. end::dfas-feature-bag-fraction[]
  449. tag::dfas-iteration[]
  450. The number of iterations on the analysis.
  451. end::dfas-iteration[]
  452. tag::dfas-max-attempts[]
  453. If the algorithm fails to determine a non-trivial tree (more than a single
  454. leaf), this parameter determines how many of such consecutive failures are
  455. tolerated. Once the number of attempts exceeds the threshold, the forest
  456. training stops.
  457. end::dfas-max-attempts[]
  458. tag::dfas-max-optimization-rounds[]
  459. A multiplier responsible for determining the maximum number of
  460. hyperparameter optimization steps in the Bayesian optimization procedure.
  461. The maximum number of steps is determined based on the number of undefined
  462. hyperparameters times the maximum optimization rounds per hyperparameter.
  463. end::dfas-max-optimization-rounds[]
  464. tag::dfas-num-folds[]
  465. The maximum number of folds for the cross-validation procedure.
  466. end::dfas-num-folds[]
  467. tag::dfas-num-splits[]
  468. Determines the maximum number of splits for every feature that can occur in a
  469. decision tree when the tree is trained.
  470. end::dfas-num-splits[]
  471. tag::dfas-soft-limit[]
  472. Tree depth limit is used for calculating the tree depth penalty. This is a soft
  473. limit, it can be exceeded.
  474. end::dfas-soft-limit[]
  475. tag::dfas-soft-tolerance[]
  476. Tree depth tolerance is used for calculating the tree depth penalty. This is a
  477. soft limit, it can be exceeded.
  478. end::dfas-soft-tolerance[]
  479. tag::dfas-timestamp[]
  480. The timestamp when the statistics were reported in milliseconds since the epoch.
  481. end::dfas-timestamp[]
  482. tag::dfas-timing-stats[]
  483. An object containing time statistics about the {dfanalytics-job}.
  484. end::dfas-timing-stats[]
  485. tag::dfas-timing-stats-elapsed[]
  486. Runtime of the analysis in milliseconds.
  487. end::dfas-timing-stats-elapsed[]
  488. tag::dfas-timing-stats-iteration[]
  489. Runtime of the latest iteration of the analysis in milliseconds.
  490. end::dfas-timing-stats-iteration[]
  491. tag::dfas-validation-loss[]
  492. An object containing information about validation loss.
  493. end::dfas-validation-loss[]
  494. tag::dfas-validation-loss-fold[]
  495. Validation loss values for every added decision tree during the forest growing
  496. procedure.
  497. end::dfas-validation-loss-fold[]
  498. tag::dfas-validation-loss-type[]
  499. The type of the loss metric. For example, `binomial_logistic`.
  500. end::dfas-validation-loss-type[]
  501. tag::earliest-record-timestamp[]
  502. The timestamp of the earliest chronologically input document.
  503. end::earliest-record-timestamp[]
  504. tag::empty-bucket-count[]
  505. The number of buckets which did not contain any data. If your data
  506. contains many empty buckets, consider increasing your `bucket_span` or using
  507. functions that are tolerant to gaps in data such as `mean`, `non_null_sum` or
  508. `non_zero_count`.
  509. end::empty-bucket-count[]
  510. tag::eta[]
  511. Advanced configuration option. The shrinkage applied to the weights. Smaller
  512. values result in larger forests which have a better generalization error.
  513. However, the smaller the value the longer the training will take. For more
  514. information about shrinkage, see
  515. https://en.wikipedia.org/wiki/Gradient_boosting#Shrinkage[this wiki article].
  516. By default, this value is calculated during hyperparameter optimization.
  517. end::eta[]
  518. tag::exclude-frequent[]
  519. Contains one of the following values: `all`, `none`, `by`, or `over`. If set,
  520. frequent entities are excluded from influencing the anomaly results. Entities
  521. can be considered frequent over time or frequent in a population. If you are
  522. working with both over and by fields, then you can set `exclude_frequent` to
  523. `all` for both fields, or to `by` or `over` for those specific fields.
  524. end::exclude-frequent[]
  525. tag::exclude-interim-results[]
  526. If `true`, the output excludes interim results. By default, interim results are
  527. included.
  528. end::exclude-interim-results[]
  529. tag::failed-category-count[]
  530. The number of times that categorization wanted to create a new category but
  531. couldn't because the job had hit its `model_memory_limit`. This count does not
  532. track which specific categories failed to be created. Therefore you cannot use
  533. this value to determine the number of unique categories that were missed.
  534. end::failed-category-count[]
  535. tag::feature-bag-fraction[]
  536. Advanced configuration option. Defines the fraction of features that will be
  537. used when selecting a random bag for each candidate split. By default, this
  538. value is calculated during hyperparameter optimization.
  539. end::feature-bag-fraction[]
  540. tag::feature-influence-threshold[]
  541. The minimum {olscore} that a document needs to have in order to calculate its
  542. {fiscore}. Value range: 0-1 (`0.1` by default).
  543. end::feature-influence-threshold[]
  544. tag::filter[]
  545. One or more <<analysis-tokenfilters,token filters>>. In addition to the built-in
  546. token filters, other plugins can provide more token filters. This property is
  547. optional. If it is not specified, no token filters are applied prior to
  548. categorization.
  549. end::filter[]
  550. tag::filter-id[]
  551. A string that uniquely identifies a filter.
  552. end::filter-id[]
  553. tag::forecast-total[]
  554. The number of individual forecasts currently available for the job. A value of
  555. `1` or more indicates that forecasts exist.
  556. end::forecast-total[]
  557. tag::frequency[]
  558. The interval at which scheduled queries are made while the {dfeed} runs in real
  559. time. The default value is either the bucket span for short bucket spans, or,
  560. for longer bucket spans, a sensible fraction of the bucket span. For example:
  561. `150s`. When `frequency` is shorter than the bucket span, interim results for
  562. the last (partial) bucket are written then eventually overwritten by the full
  563. bucket results. If the {dfeed} uses aggregations, this value must be divisible
  564. by the interval of the date histogram aggregation.
  565. end::frequency[]
  566. tag::frequent-category-count[]
  567. The number of categories that match more than 1% of categorized documents.
  568. end::frequent-category-count[]
  569. tag::from[]
  570. Skips the specified number of {dfanalytics-jobs}. The default value is `0`.
  571. end::from[]
  572. tag::function[]
  573. The analysis function that is used. For example, `count`, `rare`, `mean`, `min`,
  574. `max`, and `sum`. For more information, see
  575. {ml-docs}/ml-functions.html[Function reference].
  576. end::function[]
  577. tag::gamma[]
  578. Advanced configuration option. Regularization parameter to prevent overfitting
  579. on the training data set. Multiplies a linear penalty associated with the size of
  580. individual trees in the forest. The higher the value the more training will
  581. prefer smaller trees. The smaller this parameter the larger individual trees
  582. will be and the longer training will take. By default, this value is calculated
  583. during hyperparameter optimization.
  584. end::gamma[]
  585. tag::groups[]
  586. A list of job groups. A job can belong to no groups or many.
  587. end::groups[]
  588. tag::indices[]
  589. An array of index names. Wildcards are supported. For example:
  590. `["it_ops_metrics", "server*"]`.
  591. +
  592. --
  593. NOTE: If any indices are in remote clusters then `node.remote_cluster_client`
  594. must not be set to `false` on any {ml} nodes.
  595. --
  596. end::indices[]
  597. tag::indices-options[]
  598. Specifies index expansion options that are used during search.
  599. +
  600. --
  601. For example:
  602. ```
  603. {
  604. "expand_wildcards": ["all"],
  605. "ignore_unavailable": true,
  606. "allow_no_indices": "false",
  607. "ignore_throttled": true
  608. }
  609. ```
  610. For more information about these options, see <<multi-index>>.
  611. --
  612. end::indices-options[]
  613. tag::inference-config-classification-num-top-classes[]
  614. Specifies the number of top class predictions to return. Defaults to 0.
  615. end::inference-config-classification-num-top-classes[]
  616. tag::inference-config-classification-num-top-feature-importance-values[]
  617. Specifies the maximum number of
  618. {ml-docs}/ml-feature-importance.html[{feat-imp}] values per document. By
  619. default, it is zero and no {feat-imp} calculation occurs.
  620. end::inference-config-classification-num-top-feature-importance-values[]
  621. tag::inference-config-classification-top-classes-results-field[]
  622. Specifies the field to which the top classes are written. Defaults to
  623. `top_classes`.
  624. end::inference-config-classification-top-classes-results-field[]
  625. tag::inference-config-classification-prediction-field-type[]
  626. Specifies the type of the predicted field to write.
  627. Acceptable values are: `string`, `number`, `boolean`. When `boolean` is provided
  628. `1.0` is transformed to `true` and `0.0` to `false`.
  629. end::inference-config-classification-prediction-field-type[]
  630. tag::inference-config-regression-num-top-feature-importance-values[]
  631. Specifies the maximum number of
  632. {ml-docs}/ml-feature-importance.html[{feat-imp}] values per document.
  633. By default, it is zero and no {feat-imp} calculation occurs.
  634. end::inference-config-regression-num-top-feature-importance-values[]
  635. tag::inference-config-results-field[]
  636. The field that is added to incoming documents to contain the inference
  637. prediction. Defaults to `predicted_value`.
  638. end::inference-config-results-field[]
  639. tag::inference-config-results-field-processor[]
  640. The field that is added to incoming documents to contain the inference
  641. prediction. Defaults to the `results_field` value of the {dfanalytics-job} that was
  642. used to train the model, which defaults to `<dependent_variable>_prediction`.
  643. end::inference-config-results-field-processor[]
  644. tag::influencers[]
  645. A comma separated list of influencer field names. Typically these can be the by,
  646. over, or partition fields that are used in the detector configuration. You might
  647. also want to use a field name that is not specifically named in a detector, but
  648. is available as part of the input data. When you use multiple detectors, the use
  649. of influencers is recommended as it aggregates results for each influencer
  650. entity.
  651. end::influencers[]
  652. tag::input-bytes[]
  653. The number of bytes of input data posted to the {anomaly-job}.
  654. end::input-bytes[]
  655. tag::input-field-count[]
  656. The total number of fields in input documents posted to the {anomaly-job}. This
  657. count includes fields that are not used in the analysis. However, be aware that
  658. if you are using a {dfeed}, it extracts only the required fields from the
  659. documents it retrieves before posting them to the job.
  660. end::input-field-count[]
  661. tag::input-record-count[]
  662. The number of input documents posted to the {anomaly-job}.
  663. end::input-record-count[]
  664. tag::invalid-date-count[]
  665. The number of input documents with either a missing date field or a date that
  666. could not be parsed.
  667. end::invalid-date-count[]
  668. tag::is-interim[]
  669. If `true`, this is an interim result. In other words, the results are calculated
  670. based on partial input data.
  671. end::is-interim[]
  672. tag::job-id-anomaly-detection[]
  673. Identifier for the {anomaly-job}.
  674. end::job-id-anomaly-detection[]
  675. tag::job-id-data-frame-analytics[]
  676. Identifier for the {dfanalytics-job}.
  677. end::job-id-data-frame-analytics[]
  678. tag::job-id-anomaly-detection-default[]
  679. Identifier for the {anomaly-job}. It can be a job identifier, a group name, or a
  680. wildcard expression. If you do not specify one of these options, the API returns
  681. information for all {anomaly-jobs}.
  682. end::job-id-anomaly-detection-default[]
  683. tag::job-id-data-frame-analytics-default[]
  684. Identifier for the {dfanalytics-job}. If you do not specify this option, the API
  685. returns information for the first hundred {dfanalytics-jobs}.
  686. end::job-id-data-frame-analytics-default[]
  687. tag::job-id-anomaly-detection-list[]
  688. An identifier for the {anomaly-jobs}. It can be a job
  689. identifier, a group name, or a comma-separated list of jobs or groups.
  690. end::job-id-anomaly-detection-list[]
  691. tag::job-id-anomaly-detection-wildcard[]
  692. Identifier for the {anomaly-job}. It can be a job identifier, a group name, or a
  693. wildcard expression.
  694. end::job-id-anomaly-detection-wildcard[]
  695. tag::job-id-anomaly-detection-wildcard-list[]
  696. Identifier for the {anomaly-job}. It can be a job identifier, a group name, a
  697. comma-separated list of jobs or groups, or a wildcard expression.
  698. end::job-id-anomaly-detection-wildcard-list[]
  699. tag::job-id-anomaly-detection-define[]
  700. Identifier for the {anomaly-job}. This identifier can contain lowercase
  701. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  702. and end with alphanumeric characters.
  703. end::job-id-anomaly-detection-define[]
  704. tag::job-id-data-frame-analytics-define[]
  705. Identifier for the {dfanalytics-job}. This identifier can contain lowercase
  706. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  707. and end with alphanumeric characters.
  708. end::job-id-data-frame-analytics-define[]
  709. tag::job-id-datafeed[]
  710. The unique identifier for the job to which the {dfeed} sends data.
  711. end::job-id-datafeed[]
  712. tag::lambda[]
  713. Advanced configuration option. Regularization parameter to prevent overfitting
  714. on the training data set. Multiplies an L2 regularisation term which applies to
  715. leaf weights of the individual trees in the forest. The higher the value the
  716. more training will attempt to keep leaf weights small. This makes the prediction
  717. function smoother at the expense of potentially not being able to capture
  718. relevant relationships between the features and the {depvar}. The smaller this
  719. parameter the larger individual trees will be and the longer training will take.
  720. By default, this value is calculated during hyperparameter optimization.
  721. end::lambda[]
  722. tag::last-data-time[]
  723. The timestamp at which data was last analyzed, according to server time.
  724. end::last-data-time[]
  725. tag::latency[]
  726. The size of the window in which to expect data that is out of time order. The
  727. default value is 0 (no latency). If you specify a non-zero value, it must be
  728. greater than or equal to one second. For more information about time units, see
  729. <<time-units>>.
  730. +
  731. --
  732. NOTE: Latency is only applicable when you send data by using
  733. the <<ml-post-data,post data>> API.
  734. --
  735. end::latency[]
  736. tag::latest-empty-bucket-timestamp[]
  737. The timestamp of the last bucket that did not contain any data.
  738. end::latest-empty-bucket-timestamp[]
  739. tag::latest-record-timestamp[]
  740. The timestamp of the latest chronologically input document.
  741. end::latest-record-timestamp[]
  742. tag::latest-sparse-record-timestamp[]
  743. The timestamp of the last bucket that was considered sparse.
  744. end::latest-sparse-record-timestamp[]
  745. tag::max-empty-searches[]
  746. If a real-time {dfeed} has never seen any data (including during any initial
  747. training period) then it will automatically stop itself and close its associated
  748. job after this many real-time searches that return no documents. In other words,
  749. it will stop after `frequency` times `max_empty_searches` of real-time
  750. operation. If not set then a {dfeed} with no end time that sees no data will
  751. remain started until it is explicitly stopped. By default this setting is not
  752. set.
  753. end::max-empty-searches[]
  754. tag::max-trees[]
  755. Advanced configuration option. Defines the maximum number of trees the forest is
  756. allowed to contain. The maximum value is 2000. By default, this value is
  757. calculated during hyperparameter optimization.
  758. end::max-trees[]
  759. tag::method[]
  760. The method that {oldetection} uses. Available methods are `lof`, `ldof`,
  761. `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is
  762. `ensemble`, which means that {oldetection} uses an ensemble of different methods
  763. and normalises and combines their individual {olscores} to obtain the overall
  764. {olscore}.
  765. end::method[]
  766. tag::missing-field-count[]
  767. The number of input documents that are missing a field that the {anomaly-job} is
  768. configured to analyze. Input documents with missing fields are still processed
  769. because it is possible that not all fields are missing.
  770. +
  771. --
  772. NOTE: If you are using {dfeeds} or posting data to the job in JSON format, a
  773. high `missing_field_count` is often not an indication of data issues. It is not
  774. necessarily a cause for concern.
  775. --
  776. end::missing-field-count[]
  777. tag::mode[]
  778. There are three available modes:
  779. +
  780. --
  781. * `auto`: The chunk size is dynamically calculated. This is the default and
  782. recommended value.
  783. * `manual`: Chunking is applied according to the specified `time_span`.
  784. * `off`: No chunking is applied.
  785. --
  786. end::mode[]
  787. tag::model-bytes[]
  788. The number of bytes of memory used by the models. This is the maximum value
  789. since the last time the model was persisted. If the job is closed, this value
  790. indicates the latest size.
  791. end::model-bytes[]
  792. tag::model-bytes-exceeded[]
  793. The number of bytes over the high limit for memory usage at the last allocation
  794. failure.
  795. end::model-bytes-exceeded[]
  796. tag::model-id[]
  797. The unique identifier of the trained {infer} model.
  798. end::model-id[]
  799. tag::model-memory-limit[]
  800. The approximate maximum amount of memory resources that are required for
  801. analytical processing. Once this limit is approached, data pruning becomes
  802. more aggressive. Upon exceeding this limit, new entities are not modeled. The
  803. default value for jobs created in version 6.1 and later is `1024mb`.
  804. This value will need to be increased for jobs that are expected to analyze high
  805. cardinality fields, but the default is set to a relatively small size to ensure
  806. that high resource usage is a conscious decision. The default value for jobs
  807. created in versions earlier than 6.1 is `4096mb`.
  808. +
  809. If you specify a number instead of a string, the units are assumed to be MiB.
  810. Specifying a string is recommended for clarity. If you specify a byte size unit
  811. of `b` or `kb` and the number does not equate to a discrete number of megabytes,
  812. it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you
  813. specify a value less than 1 MiB, an error occurs. For more information about
  814. supported byte size units, see <<byte-units>>.
  815. +
  816. If your `elasticsearch.yml` file contains an `xpack.ml.max_model_memory_limit`
  817. setting, an error occurs when you try to create jobs that have
  818. `model_memory_limit` values greater than that setting. For more information,
  819. see <<ml-settings>>.
  820. end::model-memory-limit[]
  821. tag::model-memory-limit-anomaly-jobs[]
  822. The upper limit for model memory usage, checked on increasing values.
  823. end::model-memory-limit-anomaly-jobs[]
  824. tag::model-memory-status[]
  825. The status of the mathematical models, which can have one of the following
  826. values:
  827. +
  828. --
  829. * `ok`: The models stayed below the configured value.
  830. * `soft_limit`: The models used more than 60% of the configured memory limit
  831. and older unused models will be pruned to free up space.
  832. * `hard_limit`: The models used more space than the configured memory limit.
  833. As a result, not all incoming data was processed.
  834. --
  835. end::model-memory-status[]
  836. tag::model-plot-config[]
  837. This advanced configuration option stores model information along with the
  838. results. It provides a more detailed view into {anomaly-detect}.
  839. +
  840. --
  841. WARNING: If you enable model plot it can add considerable overhead to the
  842. performance of the system; it is not feasible for jobs with many entities.
  843. Model plot provides a simplified and indicative view of the model and its
  844. bounds. It does not display complex features such as multivariate correlations
  845. or multimodal data. As such, anomalies may occasionally be reported which cannot
  846. be seen in the model plot.
  847. Model plot config can be configured when the job is created or updated later. It
  848. must be disabled if performance issues are experienced.
  849. --
  850. end::model-plot-config[]
  851. tag::model-plot-config-annotations-enabled[]
  852. If true, enables calculation and storage of the model change annotations
  853. for each entity that is being analyzed. Defaults to `enabled`.
  854. end::model-plot-config-annotations-enabled[]
  855. tag::model-plot-config-enabled[]
  856. If true, enables calculation and storage of the model bounds for each entity
  857. that is being analyzed. By default, this is not enabled.
  858. end::model-plot-config-enabled[]
  859. tag::model-plot-config-terms[]
  860. Limits data collection to this comma separated list of partition or by field
  861. values. If terms are not specified or it is an empty string, no filtering is
  862. applied. For example, "CPU,NetworkIn,DiskWrites". Wildcards are not supported.
  863. Only the specified `terms` can be viewed when using the Single Metric Viewer.
  864. end::model-plot-config-terms[]
  865. tag::model-snapshot-id[]
  866. A numerical character string that uniquely identifies the model snapshot. For
  867. example, `1575402236000 `.
  868. end::model-snapshot-id[]
  869. tag::model-snapshot-retention-days[]
  870. Advanced configuration option, which affects the automatic removal of old model
  871. snapshots for this job. It specifies the maximum period of time (in days) that
  872. snapshots are retained. This period is relative to the timestamp of the most
  873. recent snapshot for this job. The default value is `10`, which means snapshots
  874. ten days older than the newest snapshot are deleted. For more information, refer
  875. to {ml-docs}/ml-model-snapshots.html[Model snapshots].
  876. end::model-snapshot-retention-days[]
  877. tag::model-timestamp[]
  878. The timestamp of the last record when the model stats were gathered.
  879. end::model-timestamp[]
  880. tag::multivariate-by-fields[]
  881. This functionality is reserved for internal use. It is not supported for use in
  882. customer environments and is not subject to the support SLA of official GA
  883. features.
  884. +
  885. --
  886. If set to `true`, the analysis will automatically find correlations between
  887. metrics for a given `by` field value and report anomalies when those
  888. correlations cease to hold. For example, suppose CPU and memory usage on host A
  889. is usually highly correlated with the same metrics on host B. Perhaps this
  890. correlation occurs because they are running a load-balanced application.
  891. If you enable this property, then anomalies will be reported when, for example,
  892. CPU usage on host A is high and the value of CPU usage on host B is low. That
  893. is to say, you'll see an anomaly when the CPU of host A is unusual given
  894. the CPU of host B.
  895. NOTE: To use the `multivariate_by_fields` property, you must also specify
  896. `by_field_name` in your detector.
  897. --
  898. end::multivariate-by-fields[]
  899. tag::n-neighbors[]
  900. Defines the value for how many nearest neighbors each method of {oldetection}
  901. uses to calculate its {olscore}. When the value is not set, different values are
  902. used for different ensemble members. This default behavior helps improve the
  903. diversity in the ensemble; only override it if you are confident that the value
  904. you choose is appropriate for the data set.
  905. end::n-neighbors[]
  906. tag::node-address[]
  907. The network address of the node.
  908. end::node-address[]
  909. tag::node-attributes[]
  910. Lists node attributes such as `ml.machine_memory` or `ml.max_open_jobs` settings.
  911. end::node-attributes[]
  912. tag::node-datafeeds[]
  913. For started {dfeeds} only, this information pertains to the node upon which the
  914. {dfeed} is started.
  915. end::node-datafeeds[]
  916. tag::node-ephemeral-id[]
  917. The ephemeral ID of the node.
  918. end::node-ephemeral-id[]
  919. tag::node-id[]
  920. The unique identifier of the node.
  921. end::node-id[]
  922. tag::node-jobs[]
  923. Contains properties for the node that runs the job. This information is
  924. available only for open jobs.
  925. end::node-jobs[]
  926. tag::node-transport-address[]
  927. The host and port where transport HTTP connections are accepted.
  928. end::node-transport-address[]
  929. tag::open-time[]
  930. For open jobs only, the elapsed time for which the job has been open.
  931. end::open-time[]
  932. tag::out-of-order-timestamp-count[]
  933. The number of input documents that are out of time sequence and outside
  934. of the latency window. This information is applicable only when you provide data
  935. to the {anomaly-job} by using the <<ml-post-data,post data API>>. These out of
  936. order documents are discarded, since jobs require time series data to be in
  937. ascending chronological order.
  938. end::out-of-order-timestamp-count[]
  939. tag::outlier-fraction[]
  940. The proportion of the data set that is assumed to be outlying prior to
  941. {oldetection}. For example, 0.05 means it is assumed that 5% of values are real
  942. outliers and 95% are inliers.
  943. end::outlier-fraction[]
  944. tag::over-field-name[]
  945. The field used to split the data. In particular, this property is used for
  946. analyzing the splits with respect to the history of all splits. It is used for
  947. finding unusual values in the population of all splits. For more information,
  948. see {ml-docs}/ml-configuring-populations.html[Performing population analysis].
  949. end::over-field-name[]
  950. tag::partition-field-name[]
  951. The field used to segment the analysis. When you use this property, you have
  952. completely independent baselines for each value of this field.
  953. end::partition-field-name[]
  954. tag::peak-model-bytes[]
  955. The peak number of bytes of memory ever used by the models.
  956. end::peak-model-bytes[]
  957. tag::per-partition-categorization[]
  958. Settings related to how categorization interacts with partition fields.
  959. end::per-partition-categorization[]
  960. tag::per-partition-categorization-enabled[]
  961. To enable this setting, you must also set the partition_field_name property to
  962. the same value in every detector that uses the keyword mlcategory. Otherwise,
  963. job creation fails.
  964. end::per-partition-categorization-enabled[]
  965. tag::per-partition-categorization-stop-on-warn[]
  966. This setting can be set to true only if per-partition categorization is enabled.
  967. If true, both categorization and subsequent anomaly detection stops for
  968. partitions where the categorization status changes to `warn`. This setting makes
  969. it viable to have a job where it is expected that categorization works well for
  970. some partitions but not others; you do not pay the cost of bad categorization
  971. forever in the partitions where it works badly.
  972. end::per-partition-categorization-stop-on-warn[]
  973. tag::prediction-field-name[]
  974. Defines the name of the prediction field in the results.
  975. Defaults to `<dependent_variable>_prediction`.
  976. end::prediction-field-name[]
  977. tag::processed-field-count[]
  978. The total number of fields in all the documents that have been processed by the
  979. {anomaly-job}. Only fields that are specified in the detector configuration
  980. object contribute to this count. The timestamp is not included in this count.
  981. end::processed-field-count[]
  982. tag::processed-record-count[]
  983. The number of input documents that have been processed by the {anomaly-job}.
  984. This value includes documents with missing fields, since they are nonetheless
  985. analyzed. If you use {dfeeds} and have aggregations in your search query, the
  986. `processed_record_count` is the number of aggregation results processed, not the
  987. number of {es} documents.
  988. end::processed-record-count[]
  989. tag::randomize-seed[]
  990. Defines the seed to the random generator that is used to pick which documents
  991. will be used for training. By default it is randomly generated. Set it to a
  992. specific value to ensure the same documents are used for training assuming other
  993. related parameters (for example, `source`, `analyzed_fields`, etc.) are the
  994. same.
  995. end::randomize-seed[]
  996. tag::query[]
  997. The {es} query domain-specific language (DSL). This value corresponds to the
  998. query object in an {es} search POST body. All the options that are supported by
  999. {es} can be used, as this object is passed verbatim to {es}. By default, this
  1000. property has the following value: `{"match_all": {"boost": 1}}`.
  1001. end::query[]
  1002. tag::query-delay[]
  1003. The number of seconds behind real time that data is queried. For example, if
  1004. data from 10:04 a.m. might not be searchable in {es} until 10:06 a.m., set this
  1005. property to 120 seconds. The default value is randomly selected between `60s`
  1006. and `120s`. This randomness improves the query performance when there are
  1007. multiple jobs running on the same node. For more information, see
  1008. {ml-docs}/ml-delayed-data-detection.html[Handling delayed data].
  1009. end::query-delay[]
  1010. tag::rare-category-count[]
  1011. The number of categories that match just one categorized document.
  1012. end::rare-category-count[]
  1013. tag::renormalization-window-days[]
  1014. Advanced configuration option. The period over which adjustments to the score
  1015. are applied, as new data is seen. The default value is the longer of 30 days or
  1016. 100 `bucket_spans`.
  1017. end::renormalization-window-days[]
  1018. tag::results-index-name[]
  1019. A text string that affects the name of the {ml} results index. The default value
  1020. is `shared`, which generates an index named `.ml-anomalies-shared`.
  1021. end::results-index-name[]
  1022. tag::results-retention-days[]
  1023. Advanced configuration option. The period of time (in days) that results are
  1024. retained. Age is calculated relative to the timestamp of the latest bucket
  1025. result. If this property has a non-null value, once per day at 00:30 (server
  1026. time), results that are the specified number of days older than the latest
  1027. bucket result are deleted from {es}. The default value is null, which means all
  1028. results are retained.
  1029. end::results-retention-days[]
  1030. tag::retain[]
  1031. If `true`, this snapshot will not be deleted during automatic cleanup of
  1032. snapshots older than `model_snapshot_retention_days`. However, this snapshot
  1033. will be deleted when the job is deleted. The default value is `false`.
  1034. end::retain[]
  1035. tag::script-fields[]
  1036. Specifies scripts that evaluate custom expressions and returns script fields to
  1037. the {dfeed}. The detector configuration objects in a job can contain functions
  1038. that use these script fields. For more information, see
  1039. {ml-docs}/ml-configuring-transform.html[Transforming data with script fields]
  1040. and <<request-body-search-script-fields,Script fields>>.
  1041. end::script-fields[]
  1042. tag::scroll-size[]
  1043. The `size` parameter that is used in {es} searches. The default value is `1000`.
  1044. end::scroll-size[]
  1045. tag::search-bucket-avg[]
  1046. The average search time per bucket, in milliseconds.
  1047. end::search-bucket-avg[]
  1048. tag::search-count[]
  1049. The number of searches run by the {dfeed}.
  1050. end::search-count[]
  1051. tag::search-exp-avg-hour[]
  1052. The exponential average search time per hour, in milliseconds.
  1053. end::search-exp-avg-hour[]
  1054. tag::search-time[]
  1055. The total time the {dfeed} spent searching, in milliseconds.
  1056. end::search-time[]
  1057. tag::size[]
  1058. Specifies the maximum number of {dfanalytics-jobs} to obtain. The default value
  1059. is `100`.
  1060. end::size[]
  1061. tag::snapshot-id[]
  1062. Identifier for the model snapshot.
  1063. end::snapshot-id[]
  1064. tag::sparse-bucket-count[]
  1065. The number of buckets that contained few data points compared to the expected
  1066. number of data points. If your data contains many sparse buckets, consider using
  1067. a longer `bucket_span`.
  1068. end::sparse-bucket-count[]
  1069. tag::standardization-enabled[]
  1070. If `true`, the following operation is performed on the columns before computing
  1071. outlier scores: (x_i - mean(x_i)) / sd(x_i). Defaults to `true`. For more
  1072. information about this concept, see
  1073. {wikipedia}/Feature_scaling#Standardization_(Z-score_Normalization)[Wikipedia].
  1074. end::standardization-enabled[]
  1075. tag::state-anomaly-job[]
  1076. The status of the {anomaly-job}, which can be one of the following values:
  1077. +
  1078. --
  1079. * `closed`: The job finished successfully with its model state persisted. The
  1080. job must be opened before it can accept further data.
  1081. * `closing`: The job close action is in progress and has not yet completed. A
  1082. closing job cannot accept further data.
  1083. * `failed`: The job did not finish successfully due to an error. This situation
  1084. can occur due to invalid input data, a fatal error occurring during the
  1085. analysis, or an external interaction such as the process being killed by the
  1086. Linux out of memory (OOM) killer. If the job had irrevocably failed, it must be
  1087. force closed and then deleted. If the {dfeed} can be corrected, the job can be
  1088. closed and then re-opened.
  1089. * `opened`: The job is available to receive and process data.
  1090. * `opening`: The job open action is in progress and has not yet completed.
  1091. --
  1092. end::state-anomaly-job[]
  1093. tag::state-datafeed[]
  1094. The status of the {dfeed}, which can be one of the following values:
  1095. +
  1096. --
  1097. * `starting`: The {dfeed} has been requested to start but has not yet started.
  1098. * `started`: The {dfeed} is actively receiving data.
  1099. * `stopping`: The {dfeed} has been requested to stop gracefully and is
  1100. completing its final action.
  1101. * `stopped`: The {dfeed} is stopped and will not receive data until it is
  1102. re-started.
  1103. --
  1104. end::state-datafeed[]
  1105. tag::summary-count-field-name[]
  1106. If this property is specified, the data that is fed to the job is expected to be
  1107. pre-summarized. This property value is the name of the field that contains the
  1108. count of raw data points that have been summarized. The same
  1109. `summary_count_field_name` applies to all detectors in the job.
  1110. +
  1111. --
  1112. NOTE: The `summary_count_field_name` property cannot be used with the `metric`
  1113. function.
  1114. --
  1115. end::summary-count-field-name[]
  1116. tag::tags[]
  1117. A comma delimited string of tags. A {infer} model can have many tags, or none.
  1118. When supplied, only {infer} models that contain all the supplied tags are
  1119. returned.
  1120. end::tags[]
  1121. tag::timeout-start[]
  1122. Controls the amount of time to wait until the {dfanalytics-job} starts. Defaults
  1123. to 20 seconds.
  1124. end::timeout-start[]
  1125. tag::timeout-stop[]
  1126. Controls the amount of time to wait until the {dfanalytics-job} stops. Defaults
  1127. to 20 seconds.
  1128. end::timeout-stop[]
  1129. tag::time-format[]
  1130. The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The
  1131. default value is `epoch`, which refers to UNIX or Epoch time (the number of
  1132. seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured
  1133. in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept
  1134. either integer or real values. +
  1135. +
  1136. NOTE: Custom patterns must conform to the Java `DateTimeFormatter` class.
  1137. When you use date-time formatting patterns, it is recommended that you provide
  1138. the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`.
  1139. If the pattern that you specify is not sufficient to produce a complete
  1140. timestamp, job creation fails.
  1141. end::time-format[]
  1142. tag::time-span[]
  1143. The time span that each search will be querying. This setting is only applicable
  1144. when the mode is set to `manual`. For example: `3h`.
  1145. end::time-span[]
  1146. tag::timestamp-results[]
  1147. The start time of the bucket for which these results were calculated.
  1148. end::timestamp-results[]
  1149. tag::tokenizer[]
  1150. The name or definition of the <<analysis-tokenizers,tokenizer>> to use after
  1151. character filters are applied. This property is compulsory if
  1152. `categorization_analyzer` is specified as an object. Machine learning provides a
  1153. tokenizer called `ml_classic` that tokenizes in the same way as the
  1154. non-customizable tokenizer in older versions of the product. If you want to use
  1155. that tokenizer but change the character or token filters, specify
  1156. `"tokenizer": "ml_classic"` in your `categorization_analyzer`.
  1157. end::tokenizer[]
  1158. tag::total-by-field-count[]
  1159. The number of `by` field values that were analyzed by the models. This value is
  1160. cumulative for all detectors in the job.
  1161. end::total-by-field-count[]
  1162. tag::total-category-count[]
  1163. The number of categories created by categorization.
  1164. end::total-category-count[]
  1165. tag::total-over-field-count[]
  1166. The number of `over` field values that were analyzed by the models. This value
  1167. is cumulative for all detectors in the job.
  1168. end::total-over-field-count[]
  1169. tag::total-partition-field-count[]
  1170. The number of `partition` field values that were analyzed by the models. This
  1171. value is cumulative for all detectors in the job.
  1172. end::total-partition-field-count[]
  1173. tag::training-percent[]
  1174. Defines what percentage of the eligible documents that will
  1175. be used for training. Documents that are ignored by the analysis (for example
  1176. those that contain arrays with more than one value) won’t be included in the
  1177. calculation for used percentage. Defaults to `100`.
  1178. end::training-percent[]
  1179. tag::use-null[]
  1180. Defines whether a new series is used as the null series when there is no value
  1181. for the by or partition fields. The default value is `false`.
  1182. end::use-null[]
  1183. tag::verbose[]
  1184. Defines whether the stats response should be verbose. The default value is `false`.
  1185. end::verbose[]