RousselTMLEARNING

TP · Kibana and Elastic Observability: from discovery to expertise

Lab: Versioned Lens dashboard

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. 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 of bytes), unique visitors (unique_count(clientip)).
  2. 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. 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 on machine.os.keyword.
  4. 4. Export

    Why? The ndjson file contains the dashboard and its dependencies (data view, visualisations).

    Export the dashboard through the API.
  5. 5. Import into another space

    Why? This is how you promote content from one environment to another.

    Create the equipe-web space and import the file into it. Open the dashboard in this new space.

Difficulty level : ●●●○○ (3/5)

My progress

  • ⏱ Estimated time : ≈ 45 min

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.

Ask a question about this lesson →

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...),...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!