stack es transform preview-transform cli command
Auth required
Idempotent
Scope: global
elastic stack es transform preview-transform [options]
Preview a transform.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--transform-idstring- Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform configuration details in the request body.
--timeoutstring- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
--deststring- The destination for the transform.
--descriptionstring- Free text description of the transform.
--frequencystring- The interval between checks for changes in the source indices when the transform is running continuously. Also determines the retry interval in the event of transient failures while the transform is searching or indexing. The minimum value is 1s and the maximum is 1h.
--pivotstring- The pivot method transforms the data by aggregating and grouping it. These objects define the group by fields and the aggregation to reduce the data.
--sourcestring- The source of the data for the transform.
--settingsstring- Defines optional transform settings.
--syncstring- Defines the properties transforms require to run continuously.
--retention-policystring- Defines a retention policy for the transform. Data that meets the defined criteria is deleted from the destination index.
--lateststring- The latest method transforms the data by finding the latest document for each unique key.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON