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. Create the team indices
Why? Indices named after each team make pattern-based permissions easier.
Create two documents, one inlogs-app-web, the other inlogs-app-paiement.2. Create the payments space
Why? Each team has its own space; the web space has existed since Lab 3.
Create theequipe-paiementspace.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 thelecteur_webrole, then thealiceuser.4. Check the isolation
Why? The check is done with the restricted account, not with the superuser.
Asalice, read both indices, then list the accessible spaces.5. Log in to the interface
Why? The user experience confirms the configuration.
Log in to Kibana asalice: which spaces and which menus do you see?
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
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...