-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] Augments cat transforms API #53776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,23 +6,167 @@ | |
|
|
||
| Returns configuration and usage information about {transforms}. | ||
|
|
||
|
|
||
| [[cat-transforms-api-request]] | ||
| ==== {api-request-title} | ||
|
|
||
| `GET /_cat/transforms/<transform_id>` + | ||
|
|
||
| `GET /_cat/transforms/_all` + | ||
|
|
||
| `GET /_cat/transforms/*` + | ||
|
|
||
| `GET /_cat/transforms` | ||
|
|
||
| [[cat-transforms-api-prereqs]] | ||
| ==== {api-prereq-title} | ||
|
|
||
| * If the {es} {security-features} are enabled, you must have `monitor_transform` | ||
| cluster privileges to use this API. The built-in `transform_user` role has these | ||
| privileges. For more information, see <<security-privileges>> and | ||
| <<built-in-roles>>. | ||
|
|
||
| //[[cat-transforms-api-desc]] | ||
| //==== {api-description-title} | ||
|
|
||
| [[cat-transforms-api-path-params]] | ||
| ==== {api-path-parms-title} | ||
|
|
||
| `<transform_id>`:: | ||
| (Optional, string) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=transform-id-wildcard] | ||
|
|
||
| [[cat-transforms-api-query-params]] | ||
| ==== {api-query-parms-title} | ||
|
|
||
| `allow_no_match`:: | ||
| (Optional, boolean) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=allow-no-match-transforms1] | ||
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format] | ||
|
|
||
| `from`:: | ||
| (Optional, integer) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=from-transforms] | ||
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h] | ||
| + | ||
| If you do not specify which columns to include, the API returns the default | ||
| columns. If you explicitly specify one or more columns, it returns only the | ||
| specified columns. | ||
| + | ||
| Valid columns are: | ||
|
|
||
| `changes_last_detection_time`, `cldt`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=checkpointing-changes-last-detected-at] | ||
|
|
||
| `checkpoint_duration_time_exp_avg`, `cdtea`, `checkpointTimeExpAvg`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-checkpoint-duration-ms] | ||
|
|
||
| `create_time`, `ct`, `createTime`::: | ||
| (Default) | ||
| The time the {transform} was created. | ||
|
|
||
| `description`, `d`::: | ||
| (Default) | ||
| The description of the {transform}. | ||
|
|
||
| `dest_index`, `di`, `destIndex`::: | ||
| (Default) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=dest-index] | ||
|
|
||
| `document_total`, `dt`::: | ||
| The total number of documents. | ||
|
|
||
| `frequency`, `f`::: | ||
| (Default) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=frequency] | ||
|
|
||
| `id`::: | ||
| (Default) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=transform-id] | ||
|
|
||
| `index_failure`, `if`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=index-failures] | ||
|
|
||
| `index_time`, `itime`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=index-time-ms] | ||
|
|
||
| `index_total `, `it`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=index-total] | ||
|
|
||
| `indexed_documents_exp_avg`, `idea`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-documents-indexed] | ||
|
|
||
| `invocation_total`, `itotal`::: | ||
| The total number of invocations. | ||
|
||
|
|
||
| `max_page_search_size`, `mpsz`::: | ||
| (Default) | ||
| The maximum page search size. | ||
|
|
||
| `page_total`, `pt`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=pages-processed] | ||
|
|
||
| `pipeline`, `p`::: | ||
| (Default) | ||
| The {transform} pipeline. | ||
|
|
||
| `processed_documents_exp_avg`, `pdea`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-documents-processed] | ||
|
|
||
| `reason`, `r`::: | ||
| The reason. | ||
lcawl marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| `search_failure`, `sf`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=search-failures] | ||
|
|
||
| `search_time`, `stime`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=search-time-ms] | ||
|
|
||
| `search_total`, `st`::: | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=search-total] | ||
|
|
||
| `source_index`, `si`, `sourceIndex`::: | ||
| (Default) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=source-index-transforms] | ||
|
|
||
| `state`, `s`::: | ||
| (Default) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=state-transform] | ||
|
|
||
| `transform_type`, `tt`::: | ||
| (Default) | ||
| Indicates whether it's a batch or continuous {transform}. | ||
|
|
||
| `version`, `v`::: | ||
| (Default) | ||
| The version of {es} that existed on the node when the {transform} was | ||
| created. | ||
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=help] | ||
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s] | ||
|
|
||
| `size`:: | ||
| (Optional, integer) | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=size-transforms] | ||
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=time] | ||
|
|
||
| //[[cat-transforms-api-query-params]] | ||
| //==== {api-query-parms-title} | ||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v] | ||
|
|
||
| [[cat-transforms-api-examples]] | ||
| ==== {api-examples-title} | ||
|
|
||
| //[[cat-transforms-api-response-codes]] | ||
| //==== {api-response-codes-title} | ||
| [source,console] | ||
| -------------------------------------------------- | ||
| GET /_cat/transforms?v | ||
| -------------------------------------------------- | ||
| // TEST[skip:kibana sample data] | ||
|
|
||
| //[[cat-transforms-api-examples]] | ||
| //==== {api-examples-title} | ||
| [source,console-result] | ||
| ---- | ||
| id create_time version source_index dest_index pipeline description transform_type frequency max_page_search_size state | ||
| ecommerce-customer-transform 2020-03-18T23:39:29.525Z 8.0.0 kibana_sample_data_ecommerce ecommerce-customers batch 1m 500 STOPPED | ||
| ---- | ||
| // TESTRESPONSE[skip:kibana sample data] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see an equivalent stat in the "get transform stats" API. Is it based on documents_processed or documents_indexed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to the PR it is
documents_processed