Kindly Help, While the Elasticsearch is with the default elasticsearch.yml it is giving such error
/usr/share/elasticsearch/bin/elasticsearch-reconfigure-node --enrollment-token
Generates all the necessary security configuration for a node in a secured cluster
Option Description
-E Configure a setting
--enrollment-token The enrollment token to use
-h, --help Show help
-s, --silent Show minimal output
-v, --verbose Show verbose output
ERROR: Aborting enrolling to cluster. This node doesn't appear to be auto-configured for security. Expected configuration is missing from elasticsearch.yml.