kibana-api

Provide shell utilities for Kibana API requests with auto-detected credentials.

21.2k|8.6k|Updated Jan 26, 2013
One-click install
npx skills add https://github.com/elastic/kibana --skill kibana-api
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: kibana-api
Source: https://github.com/elastic/kibana/tree/main/.agents/skills/kibana-api
Command: npx skills add https://github.com/elastic/kibana --skill kibana-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a standardized and automated way for other skills to interact with a local Kibana instance, simplifying API calls and authentication.

Core Features & Use Cases

  • Automated Kibana URL and Auth Detection: Automatically finds the Kibana instance and its credentials.
  • kibana_curl Wrapper: A convenient wrapper around curl that pre-configures necessary headers and authentication for Kibana API requests.
  • Use Case: A skill that needs to create or update Kibana dashboards can use this utility to reliably send API requests to the Kibana instance without manual configuration.

Quick Start

Source the kibana_api_common.sh script to make Kibana utilities available.

Frequently Asked Questions about kibana-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Kibana API requests without manually configuring authentication?▼

You can automate Kibana API requests by sourcing the kibana_api_common.sh script, which provides a kibana_curl wrapper that automatically detects the Kibana URL and pre-configures authentication credentials for local instances.

What is the best way to interact with a local Kibana instance via curl?▼

The best way to interact with a local Kibana instance is using the kibana_curl wrapper, which simplifies standard curl commands by automatically injecting the necessary headers and authentication for Kibana API calls.

Does this Kibana API utility automatically find the local instance URL?▼

Yes, the utility automatically detects the local Kibana instance URL and its authentication credentials, allowing other skills to reliably send API requests without manual configuration.

Can I use this to programmatically create or update Kibana dashboards?▼

Yes, you can use the kibana_curl wrapper to programmatically create or update Kibana dashboards by sending reliable API requests to the local Kibana instance with pre-configured authentication.

What are the limitations of using a shell wrapper for Kibana API calls?▼

The utility is designed specifically for interacting with local Kibana instances through shell scripts, meaning it relies on auto-detection within that local environment and offers basic implementation depth for API interactions.