ml-shared.asciidoc 55 KB

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