What you will learn in this TP
- Create Lens visualisations
- Assemble a dashboard with controls
- Export and import through the API
Introduction #
What you will learn in this section
- Create Lens visualisations
- Assemble a dashboard with controls
- Export and import through the API
Context. Each team recreates its dashboards by hand and regularly loses them. You build a reference dashboard and manage it as code.
Prerequisites: Lab 1 completed · Estimated time: 45 min
A useful, versioned dashboard.Setup #
Guided steps, with their solutions.
1. Key metrics
Why? The essential figures are read at the top of the dashboard.
Create a “Web traffic” dashboard with three Metric panels: number of requests, total volume (sum ofbytes), unique visitors (unique_count(clientip)).2. Error rate with a formula
Why? A formula calculates a ratio without a pre-computed field.
Add a line chart of the error rate over time using a formula.3. Top N and controls
Why? Controls filter the whole dashboard in a single action.
Add a table of the 10 most requested URLs and an “Options list” control onmachine.os.keyword.4. Export
Why? The ndjson file contains the dashboard and its dependencies (data view, visualisations).
Export the dashboard through the API.5. Import into another space
Why? This is how you promote content from one environment to another.
Create theequipe-webspace and import the file into it. Open the dashboard in this new space.
Difficulty level : ●●●○○ (3/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
Visualizing in Kibana: Lens, dashboards and saved objects
Build visualizations with Lens, assemble interactive dashboards (filters, controls, links), and m...
Advanced Kibana: data views, Lens, dashboards, alerting and reporting
Use Kibana in depth: data views and runtime fields, Discover, Lens and formulas, dashboards and c...
Elastic Observability: logs, infrastructure, APM and synthetics
Elastic Observability features: log exploration, infrastructure inventory with Elastic Agent and ...
Kibana and Elastic Observability best practices
Checklist for running Kibana in production: versions, security, spaces and roles, versioned dashb...
Alerts, connectors and SLOs in Kibana
Create alert rules in Kibana (Elasticsearch query, ES|QL, custom threshold, logs), configure conn...
Elastic path project: centralising and using logs
The validation project of the "Elastic Stack mastery" path: Elastic Agent and Fleet, Logstash, El...
Kibana Maps and Canvas: geographic maps and presentations
Build maps with Kibana Maps (document, aggregation and choropleth layers, ES|QL) and dynamic pres...
Visualizing and automating Zabbix: dashboards, Grafana and API
Build dashboards and maps in Zabbix, use Grafana's Zabbix plugin, and automate configuration with...
Creating dashboards in Zabbix: dashboards, widgets and pages
Build useful Zabbix dashboards: pages, widgets (Graph, Problems, Top hosts, Honeycomb, Gauge...),...