stack kb data-views create-update-runtime-field-default cli command
Auth required
Idempotent
Scope: global
elastic stack kb data-views create-update-runtime-field-default \
--view-id <view-id> \
--name <name> \
--runtime-field <runtime-field> \
[options]
Create or update a runtime field
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--view-idstringrequired- The ID of the data view fields you want to update.
--namestringrequired- The name for a runtime field.
--runtime-fieldstringrequired- The runtime field definition object.
--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