hi every one.i want to add new node to elastic cluster by enrollment token but i got the error below
E:\node-1\bin>elasticsearch-create-enrollment-token.bat -s node
ERROR: [xpack.security.enrollment.enabled] must be set to `true` to create an enrollment token
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.