Create and manage SLOs in Elastic Observability using the Kibana API.
Create and manage SLOs in Elastic Observability using the Kibana API. Use when defining SLIs, setting error budgets, or managing SLO lifecycle.This is the skill's description: the text your AI reads to decide when the skill applies.
elastic-manage-slos/SKILL.md
---
name: observability-manage-slos
description: >
Create and manage SLOs in Elastic Observability using the Kibana API. Use when defining
SLIs, setting error budgets, or managing SLO lifecycle.
metadata:
author: elastic
version: 0.2.0
---
# Service-Level Objectives (SLOs)
Create and manage SLOs in Elastic Observability. SLOs track service performance against measurable targets using
service-level indicators (SLIs) computed from Elasticsearch data.
## Authentication
SLO operations go through the Kibana API. Authenticate with either an API key or basic auth:
```bash
# API key
curl -H "Authorization: ApiKey <base64-encoded-key>" -H "kbn-xsrf: true" <KIBANA_URL>/api/observability/slos
# Basic auth
curl -u "$KIBANA_USER:$KIBANA_PASSWORD" -H "kbn-xsrf: true" <KIBANA_URL>/api/observability/slos