1. Spaces #
One Kibana, several teams.
Spaces #
A space groups a team's dashboards, data views, rules and other objects; it can hide unneeded features (for example Security for a product team).
curl -s -X POST localhost:5601/api/spaces/space -u elastic:$PASS -H 'kbn-xsrf: true' \
-H 'Content-Type: application/json' \
-d '{"id": "equipe-web", "name": "Équipe web", "disabledFeatures": ["siem", "securitySolutionCases"]}'2. Roles and users #
Who sees what.
Roles #
A role combines Elasticsearch privileges (on indices: read, write) and Kibana privileges (per space and per feature: read or all).
curl -s -X PUT localhost:5601/api/security/role/lecteur_web -u elastic:$PASS -H 'kbn-xsrf: true' \
-H 'Content-Type: application/json' -d '{
"elasticsearch": { "indices": [ { "names": ["logs-*-web"], "privileges": ["read", "view_index_metadata"] } ] },
"kibana": [ { "base": ["read"], "spaces": ["equipe-web"] } ] }'
# Utilisateur natif (en production : SSO SAML ou OIDC)
curl -s -X POST localhost:9200/_security/user/alice -u elastic:$PASS -H 'Content-Type: application/json' \
-d '{"password": "un-mot-de-passe-solide", "roles": ["lecteur_web"], "full_name": "Alice"}'Common mistake: The elastic account is a superuser: reserve it for installation, create named accounts and limited-privilege API keys for automation.Document- and field-level security #
With the appropriate license, a role can restrict visible documents (filter query, for example organization.id: 42) and fields (hide user.email).
3. Monitoring Kibana #
The observability tool must be observed.
Points to track #
| Point | Where |
|---|---|
| Health and plugin status | GET /api/status |
| Response times and memory | Stack Monitoring (collected by Elastic Agent or Metricbeat) |
| Failing or late rules | Stack Management > Rules, event log |
| Background tasks (Task Manager) | GET /api/task_manager/_health |
curl -s localhost:5601/api/status -u elastic:$PASS | jq '.status.overall'
curl -s localhost:5601/api/task_manager/_health -u elastic:$PASS | jq '.status'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
Kibana and Elastic Observability best practices
Checklist for running Kibana in production: versions, security, spaces and roles, versioned dashb...
Visualizing in Kibana: Lens, dashboards and saved objects
Build visualizations with Lens, assemble interactive dashboards (filters, controls, links), and m...
Kibana Maps and Canvas: geographic maps and presentations
Build maps with Kibana Maps (document, aggregation and choropleth layers, ES|QL) and dynamic pres...
Alerts, connectors and SLOs in Kibana
Create alert rules in Kibana (Elasticsearch query, ES|QL, custom threshold, logs), configure conn...
Elastic Security: SIEM, detection rules and investigation
Use Elastic Security as a SIEM: ECS data sources, detection rule types (query, EQL, ES|QL, thresh...
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...
Kibana: role, installation and first steps
What Kibana is in the Elastic suite, how to install it with Elasticsearch (start-local, Docker), ...
Machine learning in Elastic: anomaly detection and AIOps
Automatically detect abnormal behaviour: anomaly detection jobs, datafeeds, detectors, influencer...
Elastic path project: centralising and using logs
The validation project of the "Elastic Stack mastery" path: Elastic Agent and Fleet, Logstash, El...