RousselTMLEARNING

TP · Kibana and Elastic Observability: from discovery to expertise

Final Lab: Spaces and roles for two teams

What you will learn in this TP
  • Create spaces
  • Write roles
  • Check the isolation

Introduction #

What you will learn in this section
  • Create spaces
  • Write roles
  • Check the isolation

Context. Two teams share the same Elastic Stack. The web team must see neither the data nor the dashboards of the payments team.

Prerequisites: Lab 3 completed  ·  Estimated time: 40 min

A shared, partitioned Kibana.

Setup #

Guided steps, with their solutions.

  1. 1. Create the team indices

    Why? Indices named after each team make pattern-based permissions easier.

    Create two documents, one in logs-app-web, the other in logs-app-paiement.
  2. 2. Create the payments space

    Why? Each team has its own space; the web space has existed since Lab 3.

    Create the equipe-paiement space.
  3. 3. Write the web team role

    Why? The role combines read access to the web indices and read access to the web space only.

    Create the lecteur_web role, then the alice user.
  4. 4. Check the isolation

    Why? The check is done with the restricted account, not with the superuser.

    As alice, read both indices, then list the accessible spaces.
  5. 5. Log in to the interface

    Why? The user experience confirms the configuration.

    Log in to Kibana as alice: which spaces and which menus do you see?

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

My progress

  • ⏱ Estimated time : ≈ 40 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

Administering Kibana: spaces, roles, users and monitoring

Organize Kibana for several teams: spaces, roles and privileges on indices and features, users an...

Kibana and Elastic Observability best practices

Checklist for running Kibana in production: versions, security, spaces and roles, versioned dashb...

Kibana Maps and Canvas: geographic maps and presentations

Build maps with Kibana Maps (document, aggregation and choropleth layers, ES|QL) and dynamic pres...

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

Visualizing in Kibana: Lens, dashboards and saved objects

Build visualizations with Lens, assemble interactive dashboards (filters, controls, links), and m...

Alerts, connectors and SLOs in Kibana

Create alert rules in Kibana (Elasticsearch query, ES|QL, custom threshold, logs), configure conn...

Logstash: enrich, test, monitor and deploy on Kubernetes

Enrich with translate, geoip and elasticsearch, consume Kafka, test pipelines, monitor Logstash a...

Machine learning in Elastic: anomaly detection and AIOps

Automatically detect abnormal behaviour: anomaly detection jobs, datafeeds, detectors, influencer...

Elastic Security: SIEM, detection rules and investigation

Use Elastic Security as a SIEM: ECS data sources, detection rule types (query, EQL, ES|QL, thresh...

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!