Problem with adding node to elastic cluster

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: [] must be set to `true` to create an enrollment token

can anyone help please?

Is that set in your config?

is just add this to elasticsearch.yml true

If you haven't enabled security then you will need to do that.

could you please give me a solution how to enable that?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.