|
6 | 6 |
|
7 | 7 | Returns configuration and usage information about {transforms}. |
8 | 8 |
|
9 | | - |
10 | 9 | [[cat-transforms-api-request]] |
11 | 10 | ==== {api-request-title} |
12 | 11 |
|
| 12 | +`GET /_cat/transforms/<transform_id>` + |
| 13 | + |
| 14 | +`GET /_cat/transforms/_all` + |
| 15 | + |
| 16 | +`GET /_cat/transforms/*` + |
| 17 | + |
13 | 18 | `GET /_cat/transforms` |
14 | 19 |
|
| 20 | +[[cat-transforms-api-prereqs]] |
| 21 | +==== {api-prereq-title} |
| 22 | + |
| 23 | +* If the {es} {security-features} are enabled, you must have `monitor_transform` |
| 24 | +cluster privileges to use this API. The built-in `transform_user` role has these |
| 25 | +privileges. For more information, see <<security-privileges>> and |
| 26 | +<<built-in-roles>>. |
15 | 27 |
|
16 | 28 | //[[cat-transforms-api-desc]] |
17 | 29 | //==== {api-description-title} |
18 | 30 |
|
| 31 | +[[cat-transforms-api-path-params]] |
| 32 | +==== {api-path-parms-title} |
| 33 | + |
| 34 | +`<transform_id>`:: |
| 35 | +(Optional, string) |
| 36 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=transform-id-wildcard] |
| 37 | + |
| 38 | +[[cat-transforms-api-query-params]] |
| 39 | +==== {api-query-parms-title} |
| 40 | + |
| 41 | +`allow_no_match`:: |
| 42 | +(Optional, boolean) |
| 43 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=allow-no-match-transforms1] |
| 44 | + |
| 45 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format] |
| 46 | + |
| 47 | +`from`:: |
| 48 | +(Optional, integer) |
| 49 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=from-transforms] |
| 50 | + |
| 51 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h] |
| 52 | ++ |
| 53 | +If you do not specify which columns to include, the API returns the default |
| 54 | +columns. If you explicitly specify one or more columns, it returns only the |
| 55 | +specified columns. |
| 56 | ++ |
| 57 | +Valid columns are: |
| 58 | + |
| 59 | +`changes_last_detection_time`, `cldt`::: |
| 60 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=checkpointing-changes-last-detected-at] |
| 61 | + |
| 62 | +`checkpoint_duration_time_exp_avg`, `cdtea`, `checkpointTimeExpAvg`::: |
| 63 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-checkpoint-duration-ms] |
| 64 | + |
| 65 | +`create_time`, `ct`, `createTime`::: |
| 66 | +(Default) |
| 67 | +The time the {transform} was created. |
| 68 | + |
| 69 | +`description`, `d`::: |
| 70 | +(Default) |
| 71 | +The description of the {transform}. |
| 72 | + |
| 73 | +`dest_index`, `di`, `destIndex`::: |
| 74 | +(Default) |
| 75 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=dest-index] |
| 76 | + |
| 77 | +`document_total`, `dt`::: |
| 78 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=docs-processed] |
| 79 | + |
| 80 | +`frequency`, `f`::: |
| 81 | +(Default) |
| 82 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=frequency] |
| 83 | + |
| 84 | +`id`::: |
| 85 | +(Default) |
| 86 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=transform-id] |
| 87 | + |
| 88 | +`index_failure`, `if`::: |
| 89 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=index-failures] |
| 90 | + |
| 91 | +`index_time`, `itime`::: |
| 92 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=index-time-ms] |
| 93 | + |
| 94 | +`index_total`, `it`::: |
| 95 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=index-total] |
| 96 | + |
| 97 | +`indexed_documents_exp_avg`, `idea`::: |
| 98 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-documents-indexed] |
| 99 | + |
| 100 | +`invocation_total`, `itotal`::: |
| 101 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=trigger-count] |
| 102 | + |
| 103 | +`max_page_search_size`, `mpsz`::: |
| 104 | +(Default) |
| 105 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=pivot-max-page-search-size] |
| 106 | + |
| 107 | +`page_total`, `pt`::: |
| 108 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=pages-processed] |
| 109 | + |
| 110 | +`pipeline`, `p`::: |
| 111 | +(Default) |
| 112 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=dest-pipeline] |
| 113 | + |
| 114 | +`processed_documents_exp_avg`, `pdea`::: |
| 115 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=exponential-avg-documents-processed] |
| 116 | + |
| 117 | +`reason`, `r`::: |
| 118 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=state-transform-reason] |
| 119 | + |
| 120 | +`search_failure`, `sf`::: |
| 121 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=search-failures] |
| 122 | + |
| 123 | +`search_time`, `stime`::: |
| 124 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=search-time-ms] |
| 125 | + |
| 126 | +`search_total`, `st`::: |
| 127 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=search-total] |
| 128 | + |
| 129 | +`source_index`, `si`, `sourceIndex`::: |
| 130 | +(Default) |
| 131 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=source-index-transforms] |
| 132 | + |
| 133 | +`state`, `s`::: |
| 134 | +(Default) |
| 135 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=state-transform] |
| 136 | + |
| 137 | +`transform_type`, `tt`::: |
| 138 | +(Default) |
| 139 | +Indicates the type of {transform}: `batch` or `continuous`. |
| 140 | + |
| 141 | +`version`, `v`::: |
| 142 | +(Default) |
| 143 | +The version of {es} that existed on the node when the {transform} was |
| 144 | +created. |
| 145 | + |
| 146 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=help] |
| 147 | + |
| 148 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s] |
| 149 | + |
| 150 | +`size`:: |
| 151 | +(Optional, integer) |
| 152 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=size-transforms] |
| 153 | + |
| 154 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=time] |
19 | 155 |
|
20 | | -//[[cat-transforms-api-query-params]] |
21 | | -//==== {api-query-parms-title} |
| 156 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v] |
22 | 157 |
|
| 158 | +[[cat-transforms-api-examples]] |
| 159 | +==== {api-examples-title} |
23 | 160 |
|
24 | | -//[[cat-transforms-api-response-codes]] |
25 | | -//==== {api-response-codes-title} |
| 161 | +[source,console] |
| 162 | +-------------------------------------------------- |
| 163 | +GET /_cat/transforms?v&format=json |
| 164 | +-------------------------------------------------- |
| 165 | +// TEST[skip:kibana sample data] |
26 | 166 |
|
27 | | -//[[cat-transforms-api-examples]] |
28 | | -//==== {api-examples-title} |
| 167 | +[source,console-result] |
| 168 | +---- |
| 169 | +[ |
| 170 | + { |
| 171 | + "id" : "ecommerce_transform", |
| 172 | + "create_time" : "2020-03-20T20:31:25.077Z", |
| 173 | + "version" : "7.7.0", |
| 174 | + "source_index" : "kibana_sample_data_ecommerce", |
| 175 | + "dest_index" : "kibana_sample_data_ecommerce_transform", |
| 176 | + "pipeline" : null, |
| 177 | + "description" : "Maximum priced ecommerce data by customer_id in Asia", |
| 178 | + "transform_type" : "continuous", |
| 179 | + "frequency" : "5m", |
| 180 | + "max_page_search_size" : "500", |
| 181 | + "state" : "STARTED" |
| 182 | + } |
| 183 | +] |
| 184 | +---- |
| 185 | +// TESTRESPONSE[skip:kibana sample data] |
0 commit comments