Background
Im on ES v6.3.2
I have platinum license, and I know how to upgrade to it via licensing API
Pertaining to question
From the docs at elastic.co (docs):
You can configure this licensing setting in the elasticsearch.yml file ...
xpack.license.self_generated.type
Set to basic (default) to enable basic X-Pack features.
Question
I want to set the license to the platinum license that I have upon starting up Elasticsearch. Can I add something in Elasticsearch.yml file to do this ("xpack.license: @license.json" or something)?
Well these steps upgrade the license using the license API. And I wanted to configure license settings before starting up Elasticsearch service for the purpose of automated ES cluster creation. Yes, I can use the API. I just thought that there might/should be some way to include the license as a setting before starting the Elastic service.
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.