stack es slm execute-retention cli command
Auth required
elastic stack es slm execute-retention [options]
Run a retention policy.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--master-timeoutstring- The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
--timeoutstring- The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
--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