Loading

stack es scripts-painless-execute cli command

Auth required Idempotent Scope: global
elastic stack es scripts-painless-execute [options]
		

Run a script.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--context string
The context that the script should run in. NOTE: Result ordering in the field contexts is not guaranteed.
--context-setup string
Additional parameters for the context. NOTE: This parameter is required for all contexts except painless_test, which is the default if no value is provided for context.
--script string
The Painless script to run.
--input-file string
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