2020-03-18 19:54:03 -04:00
|
|
|
[[cat-transforms]]
|
|
|
|
=== cat {transforms} API
|
|
|
|
++++
|
|
|
|
<titleabbrev>cat transforms</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
|
|
|
Returns configuration and usage information about {transforms}.
|
|
|
|
|
|
|
|
[[cat-transforms-api-request]]
|
|
|
|
==== {api-request-title}
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
`GET /_cat/transforms/<transform_id>` +
|
|
|
|
|
|
|
|
`GET /_cat/transforms/_all` +
|
|
|
|
|
|
|
|
`GET /_cat/transforms/*` +
|
|
|
|
|
2020-03-18 19:54:03 -04:00
|
|
|
`GET /_cat/transforms`
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
[[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>>.
|
2020-03-18 19:54:03 -04:00
|
|
|
|
|
|
|
//[[cat-transforms-api-desc]]
|
|
|
|
//==== {api-description-title}
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
[[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]
|
|
|
|
|
2020-03-30 08:57:02 -04:00
|
|
|
`documents_indexed`, `doci`:::
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=docs-indexed]
|
|
|
|
|
|
|
|
`documents_processed`, `docp`:::
|
2020-03-26 10:56:46 -04:00
|
|
|
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]
|
|
|
|
|
|
|
|
`max_page_search_size`, `mpsz`:::
|
|
|
|
(Default)
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=pivot-max-page-search-size]
|
|
|
|
|
2020-03-30 08:57:02 -04:00
|
|
|
`pages_processed`, `pp`:::
|
2020-03-26 10:56:46 -04:00
|
|
|
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]
|
|
|
|
|
2020-03-30 08:57:02 -04:00
|
|
|
`processing_time`, `pt`:::
|
2020-04-02 19:12:57 -04:00
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=processing-time-ms]
|
2020-03-30 08:57:02 -04:00
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
`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`.
|
|
|
|
|
2020-03-30 08:57:02 -04:00
|
|
|
`trigger_count`, `tc`:::
|
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=trigger-count]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
`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]
|
2020-03-18 19:54:03 -04:00
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v]
|
2020-03-18 19:54:03 -04:00
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
[[cat-transforms-api-examples]]
|
|
|
|
==== {api-examples-title}
|
2020-03-18 19:54:03 -04:00
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
[source,console]
|
|
|
|
--------------------------------------------------
|
|
|
|
GET /_cat/transforms?v&format=json
|
|
|
|
--------------------------------------------------
|
|
|
|
// TEST[skip:kibana sample data]
|
2020-03-18 19:54:03 -04:00
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
[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]
|