Linux command
elasticsearch-create-enrollment-token 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create token for new node
elasticsearch-create-enrollment-token -s node
Create token for Kibana
elasticsearch-create-enrollment-token -s kibana
Specify URL
elasticsearch-create-enrollment-token -s node --url [https://localhost:9200]
说明
elasticsearch-create-enrollment-token generates enrollment tokens for adding new Elasticsearch nodes or connecting Kibana to a secured cluster.
参数
- -s, --scope _scope_
- Token scope (node or kibana).
- --url _url_
- Elasticsearch URL.
- -E _setting=value_
- Configure setting.
FAQ
What is the elasticsearch-create-enrollment-token command used for?
elasticsearch-create-enrollment-token generates enrollment tokens for adding new Elasticsearch nodes or connecting Kibana to a secured cluster.
How do I run a basic elasticsearch-create-enrollment-token example?
Run `elasticsearch-create-enrollment-token -s node` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s, --scope _scope_ do in elasticsearch-create-enrollment-token?
Token scope (node or kibana).