stack kb data-views update-data-view-default cli command
Auth required
elastic stack kb data-views update-data-view-default \
--view-id <view-id> \
--data-view <data-view> \
[options]
Update a data view
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--view-idstringrequired- The viewId parameter
--data-viewstringrequired- The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted.
--[no-]refresh-fields- Reloads the data view fields after the data view is updated.
--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