stack es ml post-calendar-events cli command
Auth required
elastic stack es ml post-calendar-events \
--calendar-id <calendar-id> \
--events <events> \
[options]
Add scheduled events to the calendar.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--calendar-idstringrequired- A string that uniquely identifies a calendar.
--eventsstring[]required- A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.
--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