原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/get-started-users.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/get-started-users.html

Create usersedit

Let’s create two users in the native realm.

  1. Log in to Kibana with the elastic built-in user.
  2. Go to the Management / Security / Users page:

    User management screenshot in Kibana

    In this example, you can see a list of built-in users.

  3. Click Create new user. For example, create a user for yourself:

    Creating a user in Kibana

    You’ll notice that when you create a user, you can assign it a role. Don’t choose a role yet—​we’ll come back to that in subsequent steps.

  4. Click Create new user and create a logstash_internal user.

    In Getting started with the Elastic Stack, you configured Logstash to listen for Metricbeat input and to send the events to Elasticsearch. You therefore need to create a user that Logstash can use to communicate with Elasticsearch. For example:

    Creating a Logstash user in Kibana