
Kibana Api
- 5 installs
- 21.2k repo stars
- Updated August 5, 2026
- elastic/kibana
kibana-api skill documents Shared utilities for interacting with a local Kibana instance.
About
kibana-api skill documents Shared utilities for interacting with a local Kibana instance. Provides auto-detection of Kibana URL and auth, and a kibana_curl wrapper.. name: kibana-api description: Shared utilities for interacting with a local Kibana instance. Provides auto-detection of Kibana URL and auth, and a kibana_curl wrapper.
- Shared utilities for interacting with a local Kibana instance.
- Platform-specific setup patterns for kibana-api.
- Evidence-backed steps from upstream SKILL.md.
- When-to-use criteria for kibana-api versus alternatives.
Kibana Api by the numbers
- 5 all-time installs (skills.sh)
- Ranked #1,725 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
kibana-api capabilities & compatibility
- Capabilities
- kibana api quick start · kibana api when to use guidance · kibana api integration patterns
- Works with
- elasticsearch
- Use cases
- security audit
What kibana-api says it does
This skill provides shared shell utilities for other skills that need to call Kibana APIs.
Source `scripts/kibana_api_common.sh` from any skill script:
npx skills add https://github.com/elastic/kibana --skill kibana-apiAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 5 |
|---|---|
| repo stars | ★ 21.2k |
| Last updated | August 5, 2026 |
| Repository | elastic/kibana ↗ |
How do I use kibana-api correctly?
Shared utilities for interacting with a local Kibana instance. Provides auto-detection of Kibana URL and auth, and a kibana_curl wrapper.
Who is it for?
Teams implementing kibana-api workflows from the catalog.
Skip if: Skip when requirements clearly match a different specialized stack.
When should I use this skill?
User asks about kibana-api, shared utilities for interacting with a local kibana instance. provides auto-detection of .
What you get
Working kibana-api setup with validated configuration and next steps.
Files
Kibana API Utilities
This skill provides shared shell utilities for other skills that need to call Kibana APIs.
Usage
Source scripts/kibana_api_common.sh from any skill script:
REPO_ROOT="$(git rev-parse --show-toplevel)"
source "$REPO_ROOT/scripts/kibana_api_common.sh"After sourcing, the following are available:
- `KIBANA_URL` — Detected base URL (e.g.,
http://localhost:5601) - `KIBANA_AUTH` — Detected credentials (e.g.,
elastic:changeme) - `kibana_curl [curl args...]` — curl wrapper with auth,
kbn-xsrf,x-elastic-internal-origin, and TLS flags pre-configured
Auto-Detection
Tries these permutations automatically:
- URLs:
http://localhost:5601,https://localhost:5601 - Auth:
elastic:changeme,elastic_serverless:changeme
Override with environment variables KIBANA_URL and/or KIBANA_AUTH before sourcing.
Session Auth (Acting as a Browser User)
By default, kibana_curl authenticates via HTTP Basic auth, which uses the __http__ auth provider. This is a different auth realm than the browser, which uses the basic provider. Any per-user state tied to a browser session (e.g. OAuth tokens, user-specific settings) will not be visible to API calls made with HTTP Basic auth.
To authenticate in the same auth realm as a browser user, set KIBANA_USE_SESSION=true before sourcing:
export KIBANA_USE_SESSION=true
REPO_ROOT="$(git rev-parse --show-toplevel)"
source "$REPO_ROOT/scripts/kibana_api_common.sh"This logs in via the basic auth provider and uses a session cookie for all subsequent kibana_curl calls. The default behavior is unchanged when the variable is unset or false.
Related skills
FAQ
What does kibana-api do?
kibana-api skill documents Shared utilities for interacting with a local Kibana instance.
When should I use kibana-api?
User asks about kibana-api, shared utilities for interacting with a local kibana instance. provides auto-detection of .
Is this skill safe to install?
Review the Security Audits panel on this page before installing in production.