commands.sh

elasticsearch-create-enrollment-token

all

Create enrollment tokens for Elasticsearch nodes and Kibana instances.

More info →

Options (2)

-s, --scopeboolean

Create an enrollment token for adding a new Elasticsearch node

Example: elasticsearch-create-enrollment-token {{[-s|--scope]}} node
-h, --helpboolean

Display help

Example: elasticsearch-create-enrollment-token {{[-h|--help]}}

Examples (5)

Create an enrollment token for adding a new Elasticsearch node

Create an enrollment token for adding a new Kibana instance

Create an enrollment token and display verbose output

Create an enrollment token for a Kibana instance with a custom Elasticsearch URL

elasticsearch-create-enrollment-token [-s|--scope] kibana --url "IP"
made by @shridhargupta | data from tldr-pages