ml-shared.asciidoc 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  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-lazy-start[]
  19. Whether this job should be allowed to start when there is insufficient {ml} node
  20. capacity for it to be immediately assigned to a node. The default is `false`,
  21. which means that the <<start-dfanalytics>> will return an error if a {ml} node
  22. with capacity to run the job cannot immediately be found. (However, this is also
  23. subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting - see
  24. <<advanced-ml-settings>>.) If this option is set to `true` then the
  25. <<start-dfanalytics>> will not return an error, and the job will wait in the
  26. `starting` state until sufficient {ml} node capacity is available.
  27. end::allow-lazy-start[]
  28. tag::allow-no-datafeeds[]
  29. Specifies what to do when the request:
  30. +
  31. --
  32. * Contains wildcard expressions and there are no {dfeeds} that match.
  33. * Contains the `_all` string or no identifiers and there are no matches.
  34. * Contains wildcard expressions and there are only partial matches.
  35. The default value is `true`, which returns an empty `datafeeds` array when
  36. there are no matches and the subset of results when there are partial matches.
  37. If this parameter is `false`, the request returns a `404` status code when there
  38. are no matches or only partial matches.
  39. --
  40. end::allow-no-datafeeds[]
  41. tag::allow-no-jobs[]
  42. Specifies what to do when the request:
  43. +
  44. --
  45. * Contains wildcard expressions and there are no jobs that match.
  46. * Contains the `_all` string or no identifiers and there are no matches.
  47. * Contains wildcard expressions and there are only partial matches.
  48. The default value is `true`, which returns an empty `jobs` array
  49. when there are no matches and the subset of results when there are partial
  50. matches. If this parameter is `false`, the request returns a `404` status code
  51. when there are no matches or only partial matches.
  52. --
  53. end::allow-no-jobs[]
  54. tag::allow-no-match[]
  55. Specifies what to do when the request:
  56. +
  57. --
  58. * Contains wildcard expressions and there are no {dfanalytics-jobs} that match.
  59. * Contains the `_all` string or no identifiers and there are no matches.
  60. * Contains wildcard expressions and there are only partial matches.
  61. The default value is `true`, which returns an empty `data_frame_analytics` array
  62. when there are no matches and the subset of results when there are partial
  63. matches. If this parameter is `false`, the request returns a `404` status code
  64. when there are no matches or only partial matches.
  65. --
  66. end::allow-no-match[]
  67. tag::analysis[]
  68. Defines the type of {dfanalytics} you want to perform on your source index. For
  69. example: `outlier_detection`. See <<ml-dfa-analysis-objects>>.
  70. end::analysis[]
  71. tag::analysis-config[]
  72. The analysis configuration, which specifies how to analyze the data. After you
  73. create a job, you cannot change the analysis configuration; all the properties
  74. are informational.
  75. end::analysis-config[]
  76. tag::analysis-limits[]
  77. Limits can be applied for the resources required to hold the mathematical models
  78. in memory. These limits are approximate and can be set per job. They do not
  79. control the memory used by other processes, for example the {es} Java processes.
  80. If necessary, you can increase the limits after the job is created.
  81. end::analysis-limits[]
  82. tag::analyzed-fields[]
  83. Specify `includes` and/or `excludes` patterns to select which fields will be
  84. included in the analysis. The patterns specified in `excludes` are applied last,
  85. therefore `excludes` takes precedence. In other words, if the same field is
  86. specified in both `includes` and `excludes`, then the field will not be included
  87. in the analysis.
  88. +
  89. --
  90. The supported fields for each type of analysis are as follows:
  91. * {oldetection-cap} requires numeric or boolean data to analyze. The algorithms
  92. don't support missing values therefore fields that have data types other than
  93. numeric or boolean are ignored. Documents where included fields contain missing
  94. values, null values, or an array are also ignored. Therefore the `dest` index
  95. may contain documents that don't have an {olscore}.
  96. * {regression-cap} supports fields that are numeric, `boolean`, `text`, `keyword`,
  97. and `ip`. It is also tolerant of missing values. Fields that are supported are
  98. included in the analysis, other fields are ignored. Documents where included
  99. fields contain an array with two or more values are also ignored. Documents in
  100. the `dest` index that don’t contain a results field are not included in the
  101. {reganalysis}.
  102. * {classification-cap} supports fields that are numeric, `boolean`, `text`,
  103. `keyword`, and `ip`. It is also tolerant of missing values. Fields that are
  104. supported are included in the analysis, other fields are ignored. Documents
  105. where included fields contain an array with two or more values are also ignored.
  106. Documents in the `dest` index that don’t contain a results field are not
  107. included in the {classanalysis}. {classanalysis-cap} can be improved by mapping
  108. ordinal variable values to a single number. For example, in case of age ranges,
  109. you can model the values as "0-14" = 0, "15-24" = 1, "25-34" = 2, and so on.
  110. If `analyzed_fields` is not set, only the relevant fields will be included. For
  111. example, all the numeric fields for {oldetection}. For more information about
  112. field selection, see <<explain-dfanalytics>>.
  113. --
  114. end::analyzed-fields[]
  115. tag::analyzed-fields-excludes[]
  116. An array of strings that defines the fields that will be excluded from the
  117. analysis. You do not need to add fields with unsupported data types to
  118. `excludes`, these fields are excluded from the analysis automatically.
  119. end::analyzed-fields-excludes[]
  120. tag::analyzed-fields-includes[]
  121. An array of strings that defines the fields that will be included in the analysis.
  122. end::analyzed-fields-includes[]
  123. tag::assignment-explanation[]
  124. For started {dfeeds} only, contains messages relating to the selection of a node.
  125. end::assignment-explanation[]
  126. tag::assignment-explanation-dfanalytics[]
  127. Contains messages relating to the selection of a node.
  128. end::assignment-explanation-dfanalytics[]
  129. tag::background-persist-interval[]
  130. Advanced configuration option. The time between each periodic persistence of the
  131. model. The default value is a randomized value between 3 to 4 hours, which
  132. avoids all jobs persisting at exactly the same time. The smallest allowed value
  133. is 1 hour.
  134. +
  135. --
  136. TIP: For very large models (several GB), persistence could take 10-20 minutes,
  137. so do not set the `background_persist_interval` value too low.
  138. --
  139. end::background-persist-interval[]
  140. tag::bucket-count[]
  141. The number of buckets processed.
  142. end::bucket-count[]
  143. tag::bucket-span[]
  144. The size of the interval that the analysis is aggregated into, typically between
  145. `5m` and `1h`. The default value is `5m`. If the {anomaly-job} uses a {dfeed}
  146. with {ml-docs}/ml-configuring-aggregation.html[aggregations], this value must be
  147. divisible by the interval of the date histogram aggregation. For more
  148. information, see {ml-docs}/ml-buckets.html[Buckets].
  149. end::bucket-span[]
  150. tag::bucket-span-results[]
  151. The length of the bucket in seconds. This value matches the `bucket_span`
  152. that is specified in the job.
  153. end::bucket-span-results[]
  154. tag::by-field-name[]
  155. The field used to split the data. In particular, this property is used for
  156. analyzing the splits with respect to their own history. It is used for finding
  157. unusual values in the context of the split.
  158. end::by-field-name[]
  159. tag::calendar-id[]
  160. A string that uniquely identifies a calendar.
  161. end::calendar-id[]
  162. tag::categorization-analyzer[]
  163. If `categorization_field_name` is specified, you can also define the analyzer
  164. that is used to interpret the categorization field. This property cannot be used
  165. at the same time as `categorization_filters`. The categorization analyzer
  166. specifies how the `categorization_field` is interpreted by the categorization
  167. process. The syntax is very similar to that used to define the `analyzer` in the
  168. <<indices-analyze,Analyze endpoint>>. For more information, see
  169. {ml-docs}/ml-configuring-categories.html[Categorizing log messages].
  170. +
  171. --
  172. The `categorization_analyzer` field can be specified either as a string or as an
  173. object. If it is a string it must refer to a
  174. <<analysis-analyzers,built-in analyzer>> or one added by another plugin. If it
  175. is an object it has the following properties:
  176. --
  177. `analysis_config`.`categorization_analyzer`.`char_filter`::::
  178. (array of strings or objects)
  179. include::{docdir}/ml/ml-shared.asciidoc[tag=char-filter]
  180. `analysis_config`.`categorization_analyzer`.`tokenizer`::::
  181. (string or object)
  182. include::{docdir}/ml/ml-shared.asciidoc[tag=tokenizer]
  183. `analysis_config`.`categorization_analyzer`.`filter`::::
  184. (array of strings or objects)
  185. include::{docdir}/ml/ml-shared.asciidoc[tag=filter]
  186. end::categorization-analyzer[]
  187. tag::categorization-examples-limit[]
  188. The maximum number of examples stored per category in memory and in the results
  189. data store. The default value is 4. If you increase this value, more examples
  190. are available, however it requires that you have more storage available. If you
  191. set this value to `0`, no examples are stored.
  192. +
  193. --
  194. NOTE: The `categorization_examples_limit` only applies to analysis that uses
  195. categorization. For more information, see
  196. {ml-docs}/ml-configuring-categories.html[Categorizing log messages].
  197. --
  198. end::categorization-examples-limit[]
  199. tag::categorization-field-name[]
  200. If this property is specified, the values of the specified field will be
  201. categorized. The resulting categories must be used in a detector by setting
  202. `by_field_name`, `over_field_name`, or `partition_field_name` to the keyword
  203. `mlcategory`. For more information, see
  204. {ml-docs}/ml-configuring-categories.html[Categorizing log messages].
  205. end::categorization-field-name[]
  206. tag::categorization-filters[]
  207. If `categorization_field_name` is specified, you can also define optional
  208. filters. This property expects an array of regular expressions. The expressions
  209. are used to filter out matching sequences from the categorization field values.
  210. You can use this functionality to fine tune the categorization by excluding
  211. sequences from consideration when categories are defined. For example, you can
  212. exclude SQL statements that appear in your log files. For more information, see
  213. {ml-docs}/ml-configuring-categories.html[Categorizing log messages]. This
  214. property cannot be used at the same time as `categorization_analyzer`. If you
  215. only want to define simple regular expression filters that are applied prior to
  216. tokenization, setting this property is the easiest method. If you also want to
  217. customize the tokenizer or post-tokenization filtering, use the
  218. `categorization_analyzer` property instead and include the filters as
  219. `pattern_replace` character filters. The effect is exactly the same.
  220. end::categorization-filters[]
  221. tag::char-filter[]
  222. One or more <<analysis-charfilters,character filters>>. In addition to the
  223. built-in character filters, other plugins can provide more character filters.
  224. This property is optional. If it is not specified, no character filters are
  225. applied prior to categorization. If you are customizing some other aspect of the
  226. analyzer and you need to achieve the equivalent of `categorization_filters`
  227. (which are not permitted when some other aspect of the analyzer is customized),
  228. add them here as
  229. <<analysis-pattern-replace-charfilter,pattern replace character filters>>.
  230. end::char-filter[]
  231. tag::compute-feature-influence[]
  232. If `true`, the feature influence calculation is enabled. Defaults to `true`.
  233. end::compute-feature-influence[]
  234. tag::chunking-config[]
  235. {dfeeds-cap} might be required to search over long time periods, for several months
  236. or years. This search is split into time chunks in order to ensure the load
  237. on {es} is managed. Chunking configuration controls how the size of these time
  238. chunks are calculated and is an advanced configuration option.
  239. A chunking configuration object has the following properties:
  240. `chunking_config`.`mode`:::
  241. (string)
  242. include::{docdir}/ml/ml-shared.asciidoc[tag=mode]
  243. `chunking_config`.`time_span`:::
  244. (<<time-units,time units>>)
  245. include::{docdir}/ml/ml-shared.asciidoc[tag=time-span]
  246. end::chunking-config[]
  247. tag::custom-rules[]
  248. An array of custom rule objects, which enable you to customize the way detectors
  249. operate. For example, a rule may dictate to the detector conditions under which
  250. results should be skipped. For more examples, see
  251. {ml-docs}/ml-configuring-detector-custom-rules.html[Customizing detectors with custom rules].
  252. end::custom-rules[]
  253. tag::custom-rules-actions[]
  254. The set of actions to be triggered when the rule applies. If
  255. more than one action is specified the effects of all actions are combined. The
  256. available actions include:
  257. * `skip_result`: The result will not be created. This is the default value.
  258. Unless you also specify `skip_model_update`, the model will be updated as usual
  259. with the corresponding series value.
  260. * `skip_model_update`: The value for that series will not be used to update the
  261. model. Unless you also specify `skip_result`, the results will be created as
  262. usual. This action is suitable when certain values are expected to be
  263. consistently anomalous and they affect the model in a way that negatively
  264. impacts the rest of the results.
  265. end::custom-rules-actions[]
  266. tag::custom-rules-scope[]
  267. An optional scope of series where the rule applies. A rule must either
  268. have a non-empty scope or at least one condition. By default, the scope includes
  269. all series. Scoping is allowed for any of the fields that are also specified in
  270. `by_field_name`, `over_field_name`, or `partition_field_name`. To add a scope
  271. for a field, add the field name as a key in the scope object and set its value
  272. to an object with the following properties:
  273. end::custom-rules-scope[]
  274. tag::custom-rules-scope-filter-id[]
  275. The id of the filter to be used.
  276. end::custom-rules-scope-filter-id[]
  277. tag::custom-rules-scope-filter-type[]
  278. Either `include` (the rule applies for values in the filter) or `exclude` (the
  279. rule applies for values not in the filter). Defaults to `include`.
  280. end::custom-rules-scope-filter-type[]
  281. tag::custom-rules-conditions[]
  282. An optional array of numeric conditions when the rule applies. A rule must
  283. either have a non-empty scope or at least one condition. Multiple conditions are
  284. combined together with a logical `AND`. A condition has the following properties:
  285. end::custom-rules-conditions[]
  286. tag::custom-rules-conditions-applies-to[]
  287. Specifies the result property to which the condition applies. The available
  288. options are `actual`, `typical`, `diff_from_typical`, `time`. If your detector
  289. uses `lat_long`, `metric`, `rare`, or `freq_rare` functions, you can only
  290. specify conditions that apply to `time`.
  291. end::custom-rules-conditions-applies-to[]
  292. tag::custom-rules-conditions-operator[]
  293. Specifies the condition operator. The available options are `gt` (greater than),
  294. `gte` (greater than or equals), `lt` (less than) and `lte` (less than or equals).
  295. end::custom-rules-conditions-operator[]
  296. tag::custom-rules-conditions-value[]
  297. The value that is compared against the `applies_to` field using the `operator`.
  298. end::custom-rules-conditions-value[]
  299. tag::custom-settings[]
  300. Advanced configuration option. Contains custom meta data about the job. For
  301. example, it can contain custom URL information as shown in
  302. {ml-docs}/ml-configuring-url.html[Adding custom URLs to {ml} results].
  303. end::custom-settings[]
  304. tag::data-description[]
  305. The data description defines the format of the input data when you send data to
  306. the job by using the <<ml-post-data,post data>> API. Note that when configure
  307. a {dfeed}, these properties are automatically set.
  308. +
  309. --
  310. When data is received via the <<ml-post-data,post data>> API, it is not stored
  311. in {es}. Only the results for {anomaly-detect} are retained.
  312. `data_description`.`format`:::
  313. (string) Only `JSON` format is supported at this time.
  314. `data_description`.`time_field`:::
  315. (string) The name of the field that contains the timestamp.
  316. The default value is `time`.
  317. `data_description`.`time_format`:::
  318. (string)
  319. include::{docdir}/ml/ml-shared.asciidoc[tag=time-format]
  320. --
  321. end::data-description[]
  322. tag::data-frame-analytics[]
  323. An array of {dfanalytics-job} resources, which are sorted by the `id` value in
  324. ascending order.
  325. `id`:::
  326. (string) The unique identifier of the {dfanalytics-job}.
  327. `source`:::
  328. (object) The configuration of how the analysis data is sourced. It has an
  329. `index` parameter and optionally a `query` and a `_source`.
  330. `index`::::
  331. (array) Index or indices on which to perform the analysis. It can be a single
  332. index or index pattern as well as an array of indices or patterns.
  333. `query`::::
  334. (object) The query that has been specified for the {dfanalytics-job}. The {es}
  335. query domain-specific language (<<query-dsl,DSL>>). This value corresponds to
  336. the query object in an {es} search POST body. By default, this property has the
  337. following value: `{"match_all": {}}`.
  338. `_source`::::
  339. (object) Contains the specified `includes` and/or `excludes` patterns that
  340. select which fields are present in the destination. Fields that are excluded
  341. cannot be included in the analysis.
  342. `includes`:::::
  343. (array) An array of strings that defines the fields that are included in the
  344. destination.
  345. `excludes`:::::
  346. (array) An array of strings that defines the fields that are excluded from the
  347. destination.
  348. `dest`:::
  349. (string) The destination configuration of the analysis.
  350. `index`::::
  351. (string) The _destination index_ that stores the results of the
  352. {dfanalytics-job}.
  353. `results_field`::::
  354. (string) The name of the field that stores the results of the analysis. Defaults
  355. to `ml`.
  356. `analysis`:::
  357. (object) The type of analysis that is performed on the `source`.
  358. `analyzed_fields`:::
  359. (object) Contains `includes` and/or `excludes` patterns that select which fields
  360. are included in the analysis.
  361. `includes`::::
  362. (Optional, array) An array of strings that defines the fields that are included
  363. in the analysis.
  364. `excludes`::::
  365. (Optional, array) An array of strings that defines the fields that are excluded
  366. from the analysis.
  367. `model_memory_limit`:::
  368. (string) The `model_memory_limit` that has been set to the {dfanalytics-job}.
  369. end::data-frame-analytics[]
  370. tag::data-frame-analytics-stats[]
  371. An array of statistics objects for {dfanalytics-jobs}, which are
  372. sorted by the `id` value in ascending order.
  373. `id`:::
  374. (string) The unique identifier of the {dfanalytics-job}.
  375. `state`:::
  376. (string) Current state of the {dfanalytics-job}.
  377. `progress`:::
  378. (array) The progress report of the {dfanalytics-job} by phase.
  379. `phase`:::
  380. (string) Defines the phase of the {dfanalytics-job}. Possible phases:
  381. `reindexing`, `loading_data`, `analyzing`, and `writing_results`.
  382. `progress_percent`:::
  383. (integer) The progress that the {dfanalytics-job} has made expressed in
  384. percentage.
  385. end::data-frame-analytics-stats[]
  386. tag::datafeed-id[]
  387. A numerical character string that uniquely identifies the
  388. {dfeed}. This identifier can contain lowercase alphanumeric characters (a-z
  389. and 0-9), hyphens, and underscores. It must start and end with alphanumeric
  390. characters.
  391. end::datafeed-id[]
  392. tag::datafeed-id-wildcard[]
  393. Identifier for the {dfeed}. It can be a {dfeed} identifier or a wildcard
  394. expression.
  395. end::datafeed-id-wildcard[]
  396. tag::decompress-definition[]
  397. Specifies whether the included model definition should be returned as a JSON map (`true`) or
  398. in a custom compressed format (`false`). Defaults to `true`.
  399. end::decompress-definition[]
  400. tag::delayed-data-check-config[]
  401. Specifies whether the {dfeed} checks for missing data and the size of the
  402. window. For example: `{"enabled": true, "check_window": "1h"}`.
  403. +
  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 index.
  407. If missing data is found, it is a good indication that the `query_delay` option
  408. is set too low and the data is being indexed after the {dfeed} has passed that
  409. moment in time. See
  410. {ml-docs}/ml-delayed-data-detection.html[Working with delayed data].
  411. This check runs only on real-time {dfeeds}.
  412. `delayed_data_check_config`.`enabled`::
  413. (boolean) Specifies whether the {dfeed} periodically checks for delayed data.
  414. Defaults to `true`.
  415. `delayed_data_check_config`.`check_window`::
  416. (<<time-units,time units>>) The window of time that is searched for late data.
  417. This window of time ends with the latest finalized bucket. It defaults to
  418. `null`, which causes an appropriate `check_window` to be calculated when the
  419. real-time {dfeed} runs. In particular, the default `check_window` span
  420. calculation is based on the maximum of `2h` or `8 * bucket_span`.
  421. --
  422. end::delayed-data-check-config[]
  423. tag::dependent-variable[]
  424. Defines which field of the document is to be predicted.
  425. This parameter is supplied by field name and must match one of the fields in
  426. the index being used to train. If this field is missing from a document, then
  427. that document will not be used for training, but a prediction with the trained
  428. model will be generated for it. It is also known as continuous target variable.
  429. end::dependent-variable[]
  430. tag::desc-results[]
  431. If true, the results are sorted in descending order.
  432. end::desc-results[]
  433. tag::description-dfa[]
  434. A description of the job.
  435. end::description-dfa[]
  436. tag::dest[]
  437. The destination configuration, consisting of `index` and
  438. optionally `results_field` (`ml` by default).
  439. `index`:::
  440. (Required, string) Defines the _destination index_ to store the results of
  441. the {dfanalytics-job}.
  442. `results_field`:::
  443. (Optional, string) Defines the name of the field in which to store the
  444. results of the analysis. Default to `ml`.
  445. end::dest[]
  446. tag::detector-description[]
  447. A description of the detector. For example, `Low event rate`.
  448. end::detector-description[]
  449. tag::detector-field-name[]
  450. The field that the detector uses in the function. If you use an event rate
  451. function such as `count` or `rare`, do not specify this field.
  452. +
  453. --
  454. NOTE: The `field_name` cannot contain double quotes or backslashes.
  455. --
  456. end::detector-field-name[]
  457. tag::detector-index[]
  458. A unique identifier for the detector. This identifier is based on the order of
  459. the detectors in the `analysis_config`, starting at zero.
  460. end::detector-index[]
  461. tag::eta[]
  462. Advanced configuration option. The shrinkage applied to the weights. Smaller
  463. values result in larger forests which have better generalization error. However,
  464. the smaller the value the longer the training will take. For more information
  465. about shrinkage, see
  466. https://en.wikipedia.org/wiki/Gradient_boosting#Shrinkage[this wiki article].
  467. end::eta[]
  468. tag::exclude-frequent[]
  469. Contains one of the following values: `all`, `none`, `by`, or `over`. If set,
  470. frequent entities are excluded from influencing the anomaly results. Entities
  471. can be considered frequent over time or frequent in a population. If you are
  472. working with both over and by fields, then you can set `exclude_frequent` to
  473. `all` for both fields, or to `by` or `over` for those specific fields.
  474. end::exclude-frequent[]
  475. tag::exclude-interim-results[]
  476. If `true`, the output excludes interim results. By default, interim results are
  477. included.
  478. end::exclude-interim-results[]
  479. tag::feature-bag-fraction[]
  480. Advanced configuration option. Defines the fraction of features that will be
  481. used when selecting a random bag for each candidate split.
  482. end::feature-bag-fraction[]
  483. tag::feature-influence-threshold[]
  484. The minimum {olscore} that a document needs to have in order to calculate its
  485. {fiscore}. Value range: 0-1 (`0.1` by default).
  486. end::feature-influence-threshold[]
  487. tag::field-selection[]
  488. An array of objects that explain selection for each field, sorted by
  489. the field names. Each object in the array has the following properties:
  490. `name`:::
  491. (string) The field name.
  492. `mapping_types`:::
  493. (string) The mapping types of the field.
  494. `is_included`:::
  495. (boolean) Whether the field is selected to be included in the analysis.
  496. `is_required`:::
  497. (boolean) Whether the field is required.
  498. `feature_type`:::
  499. (string) The feature type of this field for the analysis. May be `categorical`
  500. or `numerical`.
  501. `reason`:::
  502. (string) The reason a field is not selected to be included in the analysis.
  503. end::field-selection[]
  504. tag::filter[]
  505. One or more <<analysis-tokenfilters,token filters>>. In addition to the built-in
  506. token filters, other plugins can provide more token filters. This property is
  507. optional. If it is not specified, no token filters are applied prior to
  508. categorization.
  509. end::filter[]
  510. tag::filter-id[]
  511. A string that uniquely identifies a filter.
  512. end::filter-id[]
  513. tag::frequency[]
  514. The interval at which scheduled queries are made while the {dfeed} runs in real
  515. time. The default value is either the bucket span for short bucket spans, or,
  516. for longer bucket spans, a sensible fraction of the bucket span. For example:
  517. `150s`. When `frequency` is shorter than the bucket span, interim results for
  518. the last (partial) bucket are written then eventually overwritten by the full
  519. bucket results. If the {dfeed} uses aggregations, this value must be divisible
  520. by the interval of the date histogram aggregation.
  521. end::frequency[]
  522. tag::from[]
  523. Skips the specified number of {dfanalytics-jobs}. The default value is `0`.
  524. end::from[]
  525. tag::function[]
  526. The analysis function that is used. For example, `count`, `rare`, `mean`, `min`,
  527. `max`, and `sum`. For more information, see
  528. {ml-docs}/ml-functions.html[Function reference].
  529. end::function[]
  530. tag::gamma[]
  531. Advanced configuration option. Regularization parameter to prevent overfitting
  532. on the training dataset. Multiplies a linear penalty associated with the size of
  533. individual trees in the forest. The higher the value the more training will
  534. prefer smaller trees. The smaller this parameter the larger individual trees
  535. will be and the longer train will take.
  536. end::gamma[]
  537. tag::groups[]
  538. A list of job groups. A job can belong to no groups or many.
  539. end::groups[]
  540. tag::include-model-definition[]
  541. Specifies if the model definition should be returned in the response. Defaults
  542. to `false`. When `true`, only a single model must match the ID patterns
  543. provided, otherwise a bad request is returned.
  544. end::include-model-definition[]
  545. tag::indices[]
  546. An array of index names. Wildcards are supported. For example:
  547. `["it_ops_metrics", "server*"]`.
  548. +
  549. --
  550. NOTE: If any indices are in remote clusters then `cluster.remote.connect` must
  551. not be set to `false` on any {ml} nodes.
  552. --
  553. end::indices[]
  554. tag::influencers[]
  555. A comma separated list of influencer field names. Typically these can be the by,
  556. over, or partition fields that are used in the detector configuration. You might
  557. also want to use a field name that is not specifically named in a detector, but
  558. is available as part of the input data. When you use multiple detectors, the use
  559. of influencers is recommended as it aggregates results for each influencer entity.
  560. end::influencers[]
  561. tag::is-interim[]
  562. If `true`, this is an interim result. In other words, the results are calculated
  563. based on partial input data.
  564. end::is-interim[]
  565. tag::job-id-anomaly-detection[]
  566. Identifier for the {anomaly-job}.
  567. end::job-id-anomaly-detection[]
  568. tag::job-id-data-frame-analytics[]
  569. Identifier for the {dfanalytics-job}.
  570. end::job-id-data-frame-analytics[]
  571. tag::job-id-anomaly-detection-default[]
  572. Identifier for the {anomaly-job}. It can be a job identifier, a group name, or a
  573. wildcard expression. If you do not specify one of these options, the API returns
  574. information for all {anomaly-jobs}.
  575. end::job-id-anomaly-detection-default[]
  576. tag::job-id-data-frame-analytics-default[]
  577. Identifier for the {dfanalytics-job}. If you do not specify this option, the API
  578. returns information for the first hundred {dfanalytics-jobs}.
  579. end::job-id-data-frame-analytics-default[]
  580. tag::job-id-anomaly-detection-list[]
  581. An identifier for the {anomaly-jobs}. It can be a job
  582. identifier, a group name, or a comma-separated list of jobs or groups.
  583. end::job-id-anomaly-detection-list[]
  584. tag::job-id-anomaly-detection-wildcard[]
  585. Identifier for the {anomaly-job}. It can be a job identifier, a group name, or a
  586. wildcard expression.
  587. end::job-id-anomaly-detection-wildcard[]
  588. tag::job-id-anomaly-detection-wildcard-list[]
  589. Identifier for the {anomaly-job}. It can be a job identifier, a group name, a
  590. comma-separated list of jobs or groups, or a wildcard expression.
  591. end::job-id-anomaly-detection-wildcard-list[]
  592. tag::job-id-anomaly-detection-define[]
  593. Identifier for the {anomaly-job}. This identifier can contain lowercase
  594. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  595. and end with alphanumeric characters.
  596. end::job-id-anomaly-detection-define[]
  597. tag::job-id-data-frame-analytics-define[]
  598. Identifier for the {dfanalytics-job}. This identifier can contain lowercase
  599. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  600. and end with alphanumeric characters.
  601. end::job-id-data-frame-analytics-define[]
  602. tag::job-id-datafeed[]
  603. The unique identifier for the job to which the {dfeed} sends data.
  604. end::job-id-datafeed[]
  605. tag::lambda[]
  606. Advanced configuration option. Regularization parameter to prevent overfitting
  607. on the training dataset. Multiplies an L2 regularisation term which applies to
  608. leaf weights of the individual trees in the forest. The higher the value the
  609. more training will attempt to keep leaf weights small. This makes the prediction
  610. function smoother at the expense of potentially not being able to capture
  611. relevant relationships between the features and the {depvar}. The smaller this
  612. parameter the larger individual trees will be and the longer train will take.
  613. end::lambda[]
  614. tag::latency[]
  615. The size of the window in which to expect data that is out of time order. The
  616. default value is 0 (no latency). If you specify a non-zero value, it must be
  617. greater than or equal to one second. For more information about time units, see
  618. <<time-units>>.
  619. +
  620. --
  621. NOTE: Latency is only applicable when you send data by using
  622. the <<ml-post-data,post data>> API.
  623. --
  624. end::latency[]
  625. tag::max-empty-searches[]
  626. If a real-time {dfeed} has never seen any data (including during any initial
  627. training period) then it will automatically stop itself and close its associated
  628. job after this many real-time searches that return no documents. In other words,
  629. it will stop after `frequency` times `max_empty_searches` of real-time operation.
  630. If not set then a {dfeed} with no end time that sees no data will remain started
  631. until it is explicitly stopped. By default this setting is not set.
  632. end::max-empty-searches[]
  633. tag::maximum-number-trees[]
  634. Advanced configuration option. Defines the maximum number of trees the forest is
  635. allowed to contain. The maximum value is 2000.
  636. end::maximum-number-trees[]
  637. tag::memory-estimation[]
  638. An object containing the memory estimates. The object has the
  639. following properties:
  640. `expected_memory_without_disk`:::
  641. (string) Estimated memory usage under the assumption that the whole
  642. {dfanalytics} should happen in memory (i.e. without overflowing to disk).
  643. `expected_memory_with_disk`:::
  644. (string) Estimated memory usage under the assumption that overflowing to disk is
  645. allowed during {dfanalytics}. `expected_memory_with_disk` is usually smaller
  646. than `expected_memory_without_disk` as using disk allows to limit the main
  647. memory needed to perform {dfanalytics}.
  648. end::memory-estimation[]
  649. tag::method[]
  650. Sets the method that {oldetection} uses. If the method is not set {oldetection}
  651. uses an ensemble of different methods and normalises and combines their
  652. individual {olscores} to obtain the overall {olscore}. We recommend to use the
  653. ensemble method. Available methods are `lof`, `ldof`, `distance_kth_nn`,
  654. `distance_knn`.
  655. end::method[]
  656. tag::mode[]
  657. There are three available modes:
  658. +
  659. --
  660. * `auto`: The chunk size is dynamically calculated. This is the default and
  661. recommended value.
  662. * `manual`: Chunking is applied according to the specified `time_span`.
  663. * `off`: No chunking is applied.
  664. --
  665. end::mode[]
  666. tag::model-id[]
  667. The unique identifier of the trained {infer} model.
  668. end::model-id[]
  669. tag::model-memory-limit[]
  670. The approximate maximum amount of memory resources that are required for
  671. analytical processing. Once this limit is approached, data pruning becomes
  672. more aggressive. Upon exceeding this limit, new entities are not modeled. The
  673. default value for jobs created in version 6.1 and later is `1024mb`.
  674. This value will need to be increased for jobs that are expected to analyze high
  675. cardinality fields, but the default is set to a relatively small size to ensure
  676. that high resource usage is a conscious decision. The default value for jobs
  677. created in versions earlier than 6.1 is `4096mb`.
  678. +
  679. --
  680. If you specify a number instead of a string, the units are assumed to be MiB.
  681. Specifying a string is recommended for clarity. If you specify a byte size unit
  682. of `b` or `kb` and the number does not equate to a discrete number of megabytes,
  683. it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you
  684. specify a value less than 1 MiB, an error occurs. For more information about
  685. supported byte size units, see <<byte-units>>.
  686. If your `elasticsearch.yml` file contains an `xpack.ml.max_model_memory_limit`
  687. setting, an error occurs when you try to create jobs that have
  688. `model_memory_limit` values greater than that setting. For more information,
  689. see <<ml-settings>>.
  690. --
  691. end::model-memory-limit[]
  692. tag::model-memory-limit-dfa[]
  693. The approximate maximum amount of memory resources that are permitted for
  694. analytical processing. The default value for {dfanalytics-jobs} is `1gb`. If
  695. your `elasticsearch.yml` file contains an `xpack.ml.max_model_memory_limit`
  696. setting, an error occurs when you try to create {dfanalytics-jobs} that have
  697. `model_memory_limit` values greater than that setting. For more information, see
  698. <<ml-settings>>.
  699. end::model-memory-limit-dfa[]
  700. tag::model-plot-config[]
  701. This advanced configuration option stores model information along with the
  702. results. It provides a more detailed view into {anomaly-detect}.
  703. +
  704. --
  705. WARNING: If you enable model plot it can add considerable overhead to the
  706. performance of the system; it is not feasible for jobs with many entities.
  707. Model plot provides a simplified and indicative view of the model and its
  708. bounds. It does not display complex features such as multivariate correlations
  709. or multimodal data. As such, anomalies may occasionally be reported which cannot
  710. be seen in the model plot.
  711. Model plot config can be configured when the job is created or updated later. It
  712. must be disabled if performance issues are experienced.
  713. --
  714. end::model-plot-config[]
  715. tag::model-plot-config-enabled[]
  716. If true, enables calculation and storage of the model bounds for each entity
  717. that is being analyzed. By default, this is not enabled.
  718. end::model-plot-config-enabled[]
  719. tag::model-plot-config-terms[]
  720. Limits data collection to this comma separated list of partition or by field
  721. values. If terms are not specified or it is an empty string, no filtering is
  722. applied. For example, "CPU,NetworkIn,DiskWrites". Wildcards are not supported.
  723. Only the specified `terms` can be viewed when using the Single Metric Viewer.
  724. end::model-plot-config-terms[]
  725. tag::model-snapshot-id[]
  726. A numerical character string that uniquely identifies the model snapshot. For
  727. example, `1575402236000 `.
  728. end::model-snapshot-id[]
  729. tag::model-snapshot-retention-days[]
  730. Advanced configuration option. The period of time (in days) that model snapshots are retained.
  731. Age is calculated relative to the timestamp of the newest model snapshot.
  732. The default value is `1`, which means snapshots that are one day (twenty-four hours)
  733. older than the newest snapshot are deleted.
  734. end::model-snapshot-retention-days[]
  735. tag::multivariate-by-fields[]
  736. This functionality is reserved for internal use. It is not supported for use in
  737. customer environments and is not subject to the support SLA of official GA
  738. features.
  739. +
  740. --
  741. If set to `true`, the analysis will automatically find correlations between
  742. metrics for a given `by` field value and report anomalies when those
  743. correlations cease to hold. For example, suppose CPU and memory usage on host A
  744. is usually highly correlated with the same metrics on host B. Perhaps this
  745. correlation occurs because they are running a load-balanced application.
  746. If you enable this property, then anomalies will be reported when, for example,
  747. CPU usage on host A is high and the value of CPU usage on host B is low. That
  748. is to say, you'll see an anomaly when the CPU of host A is unusual given
  749. the CPU of host B.
  750. NOTE: To use the `multivariate_by_fields` property, you must also specify
  751. `by_field_name` in your detector.
  752. --
  753. end::multivariate-by-fields[]
  754. tag::n-neighbors[]
  755. Defines the value for how many nearest neighbors each method of
  756. {oldetection} will use to calculate its {olscore}. When the value is not set,
  757. different values will be used for different ensemble members. This helps
  758. improve diversity in the ensemble. Therefore, only override this if you are
  759. confident that the value you choose is appropriate for the data set.
  760. end::n-neighbors[]
  761. tag::node[]
  762. For started {dfeeds} only, this information pertains to the node upon which the
  763. {dfeed} is started.
  764. end::node[]
  765. tag::num-top-classes[]
  766. Defines the number of categories for which the predicted
  767. probabilities are reported. It must be non-negative. If it is greater than the
  768. total number of categories (in the {version} version of the {stack}, it's two)
  769. to predict then we will report all category probabilities. Defaults to 2.
  770. end::num-top-classes[]
  771. tag::over-field-name[]
  772. The field used to split the data. In particular, this property is used for
  773. analyzing the splits with respect to the history of all splits. It is used for
  774. finding unusual values in the population of all splits. For more information,
  775. see {ml-docs}/ml-configuring-pop.html[Performing population analysis].
  776. end::over-field-name[]
  777. tag::outlier-fraction[]
  778. Sets the proportion of the data set that is assumed to be outlying prior to
  779. {oldetection}. For example, 0.05 means it is assumed that 5% of values are real
  780. outliers and 95% are inliers.
  781. end::outlier-fraction[]
  782. tag::partition-field-name[]
  783. The field used to segment the analysis. When you use this property, you have
  784. completely independent baselines for each value of this field.
  785. end::partition-field-name[]
  786. tag::prediction-field-name[]
  787. Defines the name of the prediction field in the results.
  788. Defaults to `<dependent_variable>_prediction`.
  789. end::prediction-field-name[]
  790. tag::randomize-seed[]
  791. Defines the seed to the random generator that is used to pick which documents
  792. will be used for training. By default it is randomly generated. Set it to a
  793. specific value to ensure the same documents are used for training assuming other
  794. related parameters (for example, `source`, `analyzed_fields`, etc.) are the
  795. same.
  796. end::randomize-seed[]
  797. tag::query[]
  798. The {es} query domain-specific language (DSL). This value corresponds to the
  799. query object in an {es} search POST body. All the options that are supported by
  800. {es} can be used, as this object is passed verbatim to {es}. By default, this
  801. property has the following value: `{"match_all": {"boost": 1}}`.
  802. end::query[]
  803. tag::query-delay[]
  804. The number of seconds behind real time that data is queried. For example, if
  805. data from 10:04 a.m. might not be searchable in {es} until 10:06 a.m., set this
  806. property to 120 seconds. The default value is randomly selected between `60s`
  807. and `120s`. This randomness improves the query performance when there are
  808. multiple jobs running on the same node. For more information, see
  809. {ml-docs}/ml-delayed-data-detection.html[Handling delayed data].
  810. end::query-delay[]
  811. tag::renormalization-window-days[]
  812. Advanced configuration option. The period over which adjustments to the score
  813. are applied, as new data is seen. The default value is the longer of 30 days or
  814. 100 `bucket_spans`.
  815. end::renormalization-window-days[]
  816. tag::results-index-name[]
  817. A text string that affects the name of the {ml} results index. The default value
  818. is `shared`, which generates an index named `.ml-anomalies-shared`.
  819. end::results-index-name[]
  820. tag::results-retention-days[]
  821. Advanced configuration option. The period of time (in days) that results are retained.
  822. Age is calculated relative to the timestamp of the latest bucket result.
  823. If this property has a non-null value, once per day at 00:30 (server time),
  824. results that are the specified number of days older than the latest
  825. bucket result are deleted from {es}. The default value is null, which means all
  826. results are retained.
  827. end::results-retention-days[]
  828. tag::retain[]
  829. If `true`, this snapshot will not be deleted during automatic cleanup of
  830. snapshots older than `model_snapshot_retention_days`. However, this snapshot
  831. will be deleted when the job is deleted. The default value is `false`.
  832. end::retain[]
  833. tag::script-fields[]
  834. Specifies scripts that evaluate custom expressions and returns script fields to
  835. the {dfeed}. The detector configuration objects in a job can contain functions
  836. that use these script fields. For more information, see
  837. {ml-docs}/ml-configuring-transform.html[Transforming data with script fields]
  838. and <<request-body-search-script-fields,Script fields>>.
  839. end::script-fields[]
  840. tag::scroll-size[]
  841. The `size` parameter that is used in {es} searches. The default value is `1000`.
  842. end::scroll-size[]
  843. tag::search-bucket-avg[]
  844. The average search time per bucket, in milliseconds.
  845. end::search-bucket-avg[]
  846. tag::search-count[]
  847. The number of searches run by the {dfeed}.
  848. end::search-count[]
  849. tag::search-exp-avg-hour[]
  850. The exponential average search time per hour, in milliseconds.
  851. end::search-exp-avg-hour[]
  852. tag::search-time[]
  853. The total time the {dfeed} spent searching, in milliseconds.
  854. end::search-time[]
  855. tag::size[]
  856. Specifies the maximum number of {dfanalytics-jobs} to obtain. The default value
  857. is `100`.
  858. end::size[]
  859. tag::snapshot-id[]
  860. Identifier for the model snapshot.
  861. end::snapshot-id[]
  862. tag::source-put-dfa[]
  863. The configuration of how to source the analysis data. It requires an
  864. `index`. Optionally, `query` and `_source` may be specified.
  865. `index`:::
  866. (Required, string or array) Index or indices on which to perform the
  867. analysis. It can be a single index or index pattern as well as an array of
  868. indices or patterns.
  869. `query`:::
  870. (Optional, object) The {es} query domain-specific language
  871. (<<query-dsl,DSL>>). This value corresponds to the query object in an {es}
  872. search POST body. All the options that are supported by {es} can be used,
  873. as this object is passed verbatim to {es}. By default, this property has
  874. the following value: `{"match_all": {}}`.
  875. `_source`:::
  876. (Optional, object) Specify `includes` and/or `excludes` patterns to select
  877. which fields will be present in the destination. Fields that are excluded
  878. cannot be included in the analysis.
  879. `includes`::::
  880. (array) An array of strings that defines the fields that will be
  881. included in the destination.
  882. `excludes`::::
  883. (array) An array of strings that defines the fields that will be
  884. excluded from the destination.
  885. end::source-put-dfa[]
  886. tag::standardization-enabled[]
  887. If `true`, then the following operation is performed on the columns before
  888. computing outlier scores: (x_i - mean(x_i)) / sd(x_i). Defaults to `true`. For
  889. more information, see
  890. https://en.wikipedia.org/wiki/Feature_scaling#Standardization_(Z-score_Normalization)[this wiki page about standardization].
  891. end::standardization-enabled[]
  892. tag::state-datafeed[]
  893. The status of the {dfeed}, which can be one of the following values:
  894. +
  895. --
  896. * `started`: The {dfeed} is actively receiving data.
  897. * `stopped`: The {dfeed} is stopped and will not receive data until it is
  898. re-started.
  899. --
  900. end::state-datafeed[]
  901. tag::summary-count-field-name[]
  902. If this property is specified, the data that is fed to the job is expected to be
  903. pre-summarized. This property value is the name of the field that contains the
  904. count of raw data points that have been summarized. The same
  905. `summary_count_field_name` applies to all detectors in the job.
  906. +
  907. --
  908. NOTE: The `summary_count_field_name` property cannot be used with the `metric`
  909. function.
  910. --
  911. end::summary-count-field-name[]
  912. tag::tags[]
  913. A comma delimited string of tags. A {infer} model can have many tags, or none.
  914. When supplied, only {infer} models that contain all the supplied tags are
  915. returned.
  916. end::tags[]
  917. tag::timeout-start[]
  918. Controls the amount of time to wait until the {dfanalytics-job} starts. Defaults
  919. to 20 seconds.
  920. end::timeout-start[]
  921. tag::timeout-stop[]
  922. Controls the amount of time to wait until the {dfanalytics-job} stops. Defaults
  923. to 20 seconds.
  924. end::timeout-stop[]
  925. tag::time-format[]
  926. The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The
  927. default value is `epoch`, which refers to UNIX or Epoch time (the number of
  928. seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured
  929. in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept
  930. either integer or real values. +
  931. +
  932. --
  933. NOTE: Custom patterns must conform to the Java `DateTimeFormatter` class.
  934. When you use date-time formatting patterns, it is recommended that you provide
  935. the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`.
  936. If the pattern that you specify is not sufficient to produce a complete
  937. timestamp, job creation fails.
  938. --
  939. end::time-format[]
  940. tag::time-span[]
  941. The time span that each search will be querying. This setting is only applicable
  942. when the mode is set to `manual`. For example: `3h`.
  943. end::time-span[]
  944. tag::timestamp-results[]
  945. The start time of the bucket for which these results were calculated.
  946. end::timestamp-results[]
  947. tag::tokenizer[]
  948. The name or definition of the <<analysis-tokenizers,tokenizer>> to use after
  949. character filters are applied. This property is compulsory if
  950. `categorization_analyzer` is specified as an object. Machine learning provides a
  951. tokenizer called `ml_classic` that tokenizes in the same way as the
  952. non-customizable tokenizer in older versions of the product. If you want to use
  953. that tokenizer but change the character or token filters, specify
  954. `"tokenizer": "ml_classic"` in your `categorization_analyzer`.
  955. end::tokenizer[]
  956. tag::training-percent[]
  957. Defines what percentage of the eligible documents that will
  958. be used for training. Documents that are ignored by the analysis (for example
  959. those that contain arrays with more than one value) won’t be included in the
  960. calculation for used percentage. Defaults to `100`.
  961. end::training-percent[]
  962. tag::use-null[]
  963. Defines whether a new series is used as the null series when there is no value
  964. for the by or partition fields. The default value is `false`.
  965. end::use-null[]