mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
954 B
Plaintext
30 lines
954 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# elasticsearch-create-enrollment-token
|
|
|
|
> Create enrollment tokens for Elasticsearch nodes and Kibana instances.
|
|
> More information: <https://www.elastic.co/docs/reference/elasticsearch/command-line-tools/create-enrollment-token>.
|
|
|
|
- Create an enrollment token for adding a new Elasticsearch node:
|
|
|
|
`elasticsearch-create-enrollment-token {{[-s|--scope]}} node`
|
|
|
|
- Create an enrollment token for adding a new Kibana instance:
|
|
|
|
`elasticsearch-create-enrollment-token {{[-s|--scope]}} kibana`
|
|
|
|
- Create an enrollment token and display verbose output:
|
|
|
|
`elasticsearch-create-enrollment-token {{[-s|--scope]}} node --verbose`
|
|
|
|
- Create an enrollment token for a Kibana instance with a custom Elasticsearch URL:
|
|
|
|
`elasticsearch-create-enrollment-token {{[-s|--scope]}} kibana --url "{{IP}}"`
|
|
|
|
- Display help:
|
|
|
|
`elasticsearch-create-enrollment-token {{[-h|--help]}}`
|