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
--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.
--transform-idstring- Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform configuration details in the request body.
--error-trace- When set to
trueElasticsearch will include the full stack trace of errors when they occur. --filter-pathstring-
Comma-separated list of filters in dot notation which reduce the response returned by Elasticsearch.
Repeatable: pass
--filter-pathmultiple times to supply more than one value --human- When set to
truewill return statistics in a format suitable for humans. For example"exists_time": "1h"for humans and"exists_time_in_millis": 3600000for computers. When disabled the human readable values will be omitted. This makes sense for responses being consumed only by machines. --pretty- If set to
truethe returned JSON will be "pretty-formatted". Only use this option for debugging only. --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON