LinuxCommandLibrary

elasticsearch-create-enrollment-token

Generate enrollment tokens for nodes and Kibana

TLDR

Create token for new node
$ elasticsearch-create-enrollment-token -s node
copy
Create token for Kibana
$ elasticsearch-create-enrollment-token -s kibana
copy
Specify URL
$ elasticsearch-create-enrollment-token -s node --url [https://localhost:9200]
copy

SYNOPSIS

elasticsearch-create-enrollment-token -s scope [options]

DESCRIPTION

elasticsearch-create-enrollment-token generates enrollment tokens for adding new Elasticsearch nodes or connecting Kibana to a secured cluster.

PARAMETERS

-s, --scope scope

Token scope (node or kibana).
--url url
Elasticsearch URL.
-E setting=value
Configure setting.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard