upgrade-transforms.asciidoc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[upgrade-transforms]]
  4. = Upgrade {transform} API
  5. [subs="attributes"]
  6. ++++
  7. <titleabbrev>Upgrade {transform}</titleabbrev>
  8. ++++
  9. Upgrades all {transform}s.
  10. [[upgrade-transforms-request]]
  11. == {api-request-title}
  12. `POST _transform/_upgrade`
  13. [[upgrade-transforms-prereqs]]
  14. == {api-prereq-title}
  15. Requires the following privileges:
  16. * cluster: `manage_transform` (the `transform_admin` built-in role grants this
  17. privilege)
  18. * source indices: `read`, `view_index_metadata`
  19. * destination index: `read`, `index`.
  20. [[upgrade-transforms-desc]]
  21. == {api-description-title}
  22. This API upgrades all existing {transform}s.
  23. [[upgrade-transforms-query-parms]]
  24. == {api-query-parms-title}
  25. `dry_run`::
  26. (Optional, Boolean) When `true`, only checks for updates but does not execute them.
  27. [[upgrade-transforms-example]]
  28. == {api-examples-title}
  29. [source,console]
  30. --------------------------------------------------
  31. POST _transform/_upgrade
  32. --------------------------------------------------
  33. // TEST[setup:simple_kibana_continuous_pivot]
  34. When all {transform}s are upgraded, you receive a summary:
  35. [source,console-result]
  36. ----
  37. {
  38. "no_action": 1
  39. }
  40. ----
  41. // TESTRESPONSE[s/"no_action" : 1/"no_action" : $body.no_action/]