Type to search.

stack kb alerting cli namespace

Serverless Preview

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Preview

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack Preview

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Preview

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Shell
elastic stack kb alerting --help

Kibana alerting API commands

get-alerting-health

Get the alerting framework health

get-rule-types

Get the rule types

delete-alerting-rule-id

Delete a rule

get-alerting-rule-id

Get rule details

post-alerting-rule-id

Create a rule

put-alerting-rule-id

Update a rule

post-alerting-rule-id-disable

Disable a rule

post-alerting-rule-id-enable

Enable a rule

post-alerting-rule-id-mute-all

Mute all alerts

post-alerting-rule-id-unmute-all

Unmute all alerts

post-alerting-rule-id-update-api-key

Update the API key for a rule

get-alerting-rule-id-query-inspector

Get the Elasticsearch query for a rule

post-alerting-rule-id-snooze-schedule

Schedule a snooze for the rule

post-alerting-rule-rule-id-alert-alert-id-mute

Mute an alert

post-alerting-rule-rule-id-alert-alert-id-snooze

Snooze an alert

post-alerting-rule-rule-id-alert-alert-id-unmute

Unmute an alert

post-alerting-rule-rule-id-alert-alert-id-unsnooze

Unsnooze an alert

delete-alerting-rule-ruleid-snooze-schedule-scheduleid

Delete a snooze schedule for a rule

get-alerting-rules-find

Get information about rules

post-alerting-rules-backfill-find

Find backfills for rules

post-alerting-rules-backfill-schedule

Schedule a backfill for rules

delete-alerting-rules-backfill-id

Delete a backfill by ID

get-alerting-rules-backfill-id

Get a backfill by ID