stack kb uptime put-uptime-settings cli command
Auth required
Idempotent
Scope: global
elastic stack kb uptime put-uptime-settings [options]
Update uptime settings
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--cert-age-thresholdnumber- The number of days after a certificate is created to trigger an alert.
--cert-expiration-thresholdnumber- The number of days before a certificate expires to trigger an alert.
--default-connectorsstring[]-
A list of connector IDs to be used as default connectors for new alerts.
Repeatable: pass
--default-connectorsmultiple times to supply more than one value --default-emailstring- The default email configuration for new alerts.
--heartbeat-indicesstring- An index pattern string to be used within the Uptime app and alerts to query Heartbeat data.
--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)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON