ml-shared.asciidoc 57 KB

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