Loading

stack es render-search-template cli command

Auth required Idempotent Scope: global
elastic stack es render-search-template [options]
		

Render a search template.

Behaviour flags:

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

--id string
The ID of the search template to render. If no source is specified, this or the id request body parameter is required.
--file string
--params string
Key-value pairs used to replace Mustache variables in the template. The key is the variable name. The value is the variable value.
--source string
An inline search template. It supports the same parameters as the search API's request body. These parameters also support Mustache variables. If no id or <templated-id> is specified, this parameter is required.
--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