原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/security-getting-started.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/security-getting-started.html
本地英文版地址: ../en/security-getting-started.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Tutorial: Getting started with securityedit
In this tutorial, you learn how to secure a cluster by configuring users and roles in Elasticsearch, Kibana, Logstash, and Metricbeat.
Before you beginedit
-
Install and configure Elasticsearch, Kibana, Logstash, and Metricbeat as described in Getting started with the Elastic Stack.
To complete this tutorial, you must install the default Elasticsearch and Kibana packages, which include role-based access control (RBAC) and native authentication security features. When you install these products, they apply basic licenses with no expiration dates. All of the subsequent steps in this tutorial assume that you are using a basic license. For more information, see https://www.elastic.co/subscriptions and License management.
-
Stop Logstash. The method for starting and stopping Logstash varies depending on whether
you are running it from the command line or running it as a service. For example,
if you are running Logstash from the command line, you can stop it by entering
Ctrl-C
. See Shutting down Logstash. -
Stop Metricbeat. For example, enter
Ctrl-C
on the command line where it is running. - Launch the Kibana web interface by pointing your browser to port 5601. For example, http://127.0.0.1:5601.