kibanna 重新配置token访问令牌

linux下的命令:

bin/elasticsearch-create-enrollment-token -s kibana

windows下的命令:

bin\elasticsearch-create-enrollment-token.bat --scope kibana

参数:

-E :Configures a standard Elasticsearch or X-Pack setting.

-f, –force :Forces the command to run against an unhealthy cluster.

-h, –help :Returns all of the command parameters.

-s, –scope :Specifies the scope of the generated token. Supported values are node and kibana.

–url :Specifies the base URL (hostname and port of the local node) that the tool uses to submit API requests to Elasticsearch. The default value is determined from the settings in your elasticsearch.yml file. If xpack.security.http.ssl.enabled is set to true, you must specify an HTTPS URL.

参考 es 官方文档:elasticsearch-create-enrollment-token | Elasticsearch Guide [8.3] | Elastic

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注