I installed 'Elasticsearch-7.10.2' recently. When i run it, i get the below error in the logs.
[ERROR][o.e.x.s.a.f.SecurityActionFilter] [LAPTOP-05GRP0LP] blocking [cluster:monitor/nodes/stats] operation due to expired license. Cluster health, cluster stats and indices stats* *operations are blocked on license expiration. All data operations (read and write) continue to work.* *If you have a new license, please update it. Otherwise, please reach out to your support contact.
From the previous topics i read, i added the following line in 'elasticsearch.yml' file
But it doesn't seem to work. What should i do to activate a basic license. Kindly help