stack kb maintenance-window post-maintenance-window cli command
Auth required
elastic stack kb maintenance-window post-maintenance-window \
--schedule <schedule> \
--title <title> \
[options]
Create a maintenance window.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--schedulestringrequired--titlestringrequired- The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window.
--enabled- Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications.
--scopestring--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