ml-shared.asciidoc 73 KB

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