kibana-lens

Create and edit Kibana Lens visualizations from Elasticsearch data views or SQL queries.

6|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/patrykkopycinski/elastic-cursor-plugin --skill kibana-lens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kibana-lens
Source: https://github.com/patrykkopycinski/elastic-cursor-plugin/tree/main/.cursor/skills/kibana-lens
Command: npx skills add https://github.com/patrykkopycinski/elastic-cursor-plugin --skill kibana-lens

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Transforms Elasticsearch data and queries into clear, interactive Kibana Lens visualizations, reducing manual setup, confusing axis labels, and repetitive UI adjustments.

Core Features & Use Cases

  • Guided visualization creation: clarify data source, choose a chart type, map metrics and dimensions, and ensure axis and legend labels are human-readable.
  • Provision and validation: verify data views and mappings, use index APIs when defining new indices, and confirm visualizations render correctly across time ranges and filters.
  • Programmatic integration: support adding Lens panels to dashboards and creating dashboards as code for repeatable observability and reporting workflows.

Quick Start

Create a line chart showing the 30 day average of response_time from the relevant data view and add it to your service overview dashboard.

Frequently Asked Questions about kibana-lens

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

FAQPage Schema
How do I create Kibana Lens visualizations from Elasticsearch datasets?

You can create Kibana Lens visualizations by specifying your data source, choosing a chart type, mapping metrics and dimensions, and ensuring axis and legend labels are human-readable for your Elasticsearch data.

Can I programmatically add Kibana Lens panels to a dashboard?

Yes, you can programmatically add Lens panels to Kibana dashboards or create dashboards as code to establish repeatable observability and reporting workflows for your visualizations.

What data sources are supported for Kibana data visualization?

Kibana data visualization supports Elasticsearch datasets from existing data views, index mappings, or Elasticsearch SQL queries to generate time series, breakdowns, tables, and KPI gauges.

Do I need a specific Kibana environment setup to build ad-hoc charts?

Building ad-hoc charts requires a reachable Kibana URL alongside appropriate data views or index mappings to validate data and ensure visualizations render correctly across time ranges and filters.

How do I validate data views before generating Kibana dashboards?

You validate data views and mappings by verifying them through index APIs when defining new indices, ensuring your data structure supports the visualizations before generating Kibana dashboards.