Type to search.

stack kb alerting-v2 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-v2 --help

Kibana alerting-v2 API commands

post-alerting-v2-action-policies

Create an action policy

post-alerting-v2-action-policies-bulk-delete

Delete action policies in bulk by ID

post-alerting-v2-action-policies-bulk-disable

Disable action policies in bulk by ID

post-alerting-v2-action-policies-bulk-enable

Enable action policies in bulk by ID

post-alerting-v2-action-policies-bulk-snooze

Snooze action policies in bulk by ID

post-alerting-v2-action-policies-bulk-unsnooze

Cancel snooze for action policies in bulk by ID

post-alerting-v2-action-policies-bulk-update-api-key

Rotate API keys for action policies in bulk by ID

delete-alerting-v2-action-policies-id

Delete an action policy

get-alerting-v2-action-policies-id

Get an action policy

patch-alerting-v2-action-policies-id

Partially update an action policy.

put-alerting-v2-action-policies-id

Create or replace an action policy

post-alerting-v2-action-policies-id-disable

Disable an action policy

post-alerting-v2-action-policies-id-enable

Enable an action policy

post-alerting-v2-action-policies-id-snooze

Snooze an action policy

post-alerting-v2-action-policies-id-unsnooze

Unsnooze an action policy

post-alerting-v2-action-policies-id-update-api-key

Update an action policy API key

post-alerting-v2-alerts-bulk-ack

Bulk acknowledge alert episodes

post-alerting-v2-alerts-bulk-activate

Bulk activate alert episodes

post-alerting-v2-alerts-bulk-assign

Bulk assign alert episodes

post-alerting-v2-alerts-bulk-deactivate

Bulk deactivate alert episodes

post-alerting-v2-alerts-bulk-tag

Bulk tag alert episodes

post-alerting-v2-alerts-bulk-unack

Bulk unacknowledge alert episodes

post-alerting-v2-alerts-id-ack

Acknowledge an alert episode

post-alerting-v2-alerts-id-activate

Activate an alert episode

post-alerting-v2-alerts-id-assign

Assign an alert episode to a user

post-alerting-v2-alerts-id-deactivate

Deactivate an alert episode

post-alerting-v2-alerts-id-tag

Tag an alert episode

post-alerting-v2-alerts-id-unack

Unacknowledge an alert episode

get-alerting-v2-execution-history-action-policies

List action policy executions

get-alerting-v2-execution-history-rules

List rule executions

get-alerting-v2-rules

List rules

post-alerting-v2-rules

Create a rule

post-alerting-v2-rules-bulk-create

Create rules in bulk

post-alerting-v2-rules-bulk-delete

Delete rules in bulk by ID

post-alerting-v2-rules-bulk-disable

Disable rules in bulk by ID

post-alerting-v2-rules-bulk-enable

Enable rules in bulk by ID

post-alerting-v2-rules-bulk-get

Get rules in bulk

post-alerting-v2-rules-bulk-update-api-key

Update the API key of rules in bulk by ID

post-alerting-v2-rules-delete-by-query

Delete rules matching a query (dry-run by default)

post-alerting-v2-rules-disable-by-query

Disable rules matching a query (dry-run by default)

post-alerting-v2-rules-enable-by-query

Enable rules matching a query (dry-run by default)

post-alerting-v2-rules-update-api-key-by-query

Update the API key of rules matching a query (dry-run by default)

delete-alerting-v2-rules-id

Delete a rule

get-alerting-v2-rules-id

Get a rule

patch-alerting-v2-rules-id

Update a rule

put-alerting-v2-rules-id

Create or replace a rule

post-alerting-v2-rules-id-disable

Disable a rule

post-alerting-v2-rules-id-enable

Enable a rule

post-alerting-v2-rules-id-run

Run a rule now