Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

kibana-alerting-rules

БесплатноБез исполняемых скриптовНе проверен

Create and manage Kibana alerting rules and the action policies that notify on their alerts, for both Universal Alerting and classic alerting. Use when the…

elasticот elastic★ 615 звёзд на GitHub

Об этом скилле

Kibana Alerting

Turn a monitoring goal into working alerting and manage what already exists. Create Universal Alerting rules and action policies by default; use classic alerting only when the user names a classic rule type, edits an existing classic rule, or Universal Alerting is unavailable. Load only the chosen system's references before writing anything.

Environment Configuration

This skill executes Elasticsearch operations through the elastic CLI. If the elastic CLI is not installed, tell the user what it is needed for. Do not guess credentials, call the HTTP API directly, or attempt other workarounds.

This skill references operations in HTTP-shorthand form (e.g., GET /, GET /_cat/indices, GET /{index}/_mapping, GET /{index}/_settings/index.mode, POST /_query). The Operations table at the end of this document maps each shorthand to the equivalent elastic CLI command — always use the CLI rather than calling the HTTP API directly.

Core concepts

Kibana has two alerting systems. They do not share rules, APIs, or notification wiring.

  • Universal Alerting is the default for all new alerting, also called alerting v2. A rule evaluates an ES|QL query on a schedule and opens alerts. Notifications are managed independently of rules through action policies. A policy's matcher selects alerts by their content or scopes them to specific rules through routing tags, and the policy dispatches the matched alerts to workflows (Slack, email, PagerDuty, and other connectors). A policy can be created before, after, or together with the rules it matches. Available on Kibana 9.6 or later and in Serverless Observability projects; Serverless Security and Elasticsearch projects do not offer it. Action policies and workflows require an Enterprise or trial license; rules do not.
  • Classic alerting covers the classic rule types listed in classic-rule-types.md. Its details live entirely in the classic references — do not load them for any other task. Classic alerting has no action policies: each classic rule notifies through its own actions, which run connectors.

Universal Alerting availability

If the user states a Kibana version before 9.6, use classic alerting without the check below.

Otherwise, before the first Universal Alerting call, check it once with GET kbn:/api/alerting/v2/rules and per_page=1:

Response Meaning Do
200 Available Use Universal Alerting
404, and GET kbn:/api/status succeeds Not in this Kibana: a version before 9.6 (see version.number), or a Serverless Security or Elasticsearch project Use classic alerting
503 with code ALERTING_DISABLED Turned off by an administrator (alerting:v2:enabled) Use classic alerting
403 Available, but the user lacks the Rules feature privilege Stop and tell the user which privilege they need; do not use classic alerting

Any other result — another status code, a 404 followed by a failed GET kbn:/api/status, an authentication error, or no connection — says nothing about availability: stop and report the error. Do not use classic alerting.

When using classic alerting, do not ask first, and say in the final report why the rule is classic: the stated version or the meaning from the table. For a find or list request, report classic results only and say why. A request that needs an action policy or routing tag has no classic equivalent; tell the user why Universal Alerting is unavailable instead.

Process

  1. Identify the job. Match the request to one or more rows below. A request can combine jobs — for example a new rule and its notifications — and they can be done in either order, because a shared routing tag links a Universal Alerting rule to its policies.

    | Job | Example request | System

Полный SKILL.md на GitHub

Установить kibana-alerting-rules в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/classic-actions-connectors-terraform.mdreferences/classic-rule-types.mdreferences/classic-rules.mdreferences/universal-action-policies.mdreferences/universal-matching-grouping-throttle.mdreferences/universal-rules.mdreferences/universal-workflow-destinations.md

FAQ

Что делает скилл kibana-alerting-rules?

Create and manage Kibana alerting rules and the action policies that notify on their alerts, for both Universal Alerting and classic alerting. Use when the user wants to be alerted or notified about conditions in their data, change where or how often alerts notify (including snoozing notifications), edit, enable, disable, or delete existing rules or action policies, or list existing alerting, including managing rules with Terraform. Not for Security detection rules.

Как установить скилл kibana-alerting-rules?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл kibana-alerting-rules запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить kibana-alerting-rules с