|
@@ -6,23 +6,180 @@
|
|
|
|
|
|
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`:::
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=docs-processed]
|
|
|
+
|
|
|
+`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`:::
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=trigger-count]
|
|
|
+
|
|
|
+`max_page_search_size`, `mpsz`:::
|
|
|
+(Default)
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=pivot-max-page-search-size]
|
|
|
+
|
|
|
+`page_total`, `pt`:::
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=pages-processed]
|
|
|
+
|
|
|
+`pipeline`, `p`:::
|
|
|
+(Default)
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=dest-pipeline]
|
|
|
+
|
|
|
+`processed_documents_exp_avg`, `pdea`:::
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-documents-processed]
|
|
|
+
|
|
|
+`reason`, `r`:::
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=state-transform-reason]
|
|
|
+
|
|
|
+`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 the type of {transform}: `batch` or `continuous`.
|
|
|
+
|
|
|
+`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&format=json
|
|
|
+--------------------------------------------------
|
|
|
+// TEST[skip:kibana sample data]
|
|
|
|
|
|
-//[[cat-transforms-api-examples]]
|
|
|
-//==== {api-examples-title}
|
|
|
+[source,console-result]
|
|
|
+----
|
|
|
+[
|
|
|
+ {
|
|
|
+ "id" : "ecommerce_transform",
|
|
|
+ "create_time" : "2020-03-20T20:31:25.077Z",
|
|
|
+ "version" : "7.7.0",
|
|
|
+ "source_index" : "kibana_sample_data_ecommerce",
|
|
|
+ "dest_index" : "kibana_sample_data_ecommerce_transform",
|
|
|
+ "pipeline" : null,
|
|
|
+ "description" : "Maximum priced ecommerce data by customer_id in Asia",
|
|
|
+ "transform_type" : "continuous",
|
|
|
+ "frequency" : "5m",
|
|
|
+ "max_page_search_size" : "500",
|
|
|
+ "state" : "STARTED"
|
|
|
+ }
|
|
|
+]
|
|
|
+----
|
|
|
+// TESTRESPONSE[skip:kibana sample data]
|