hi
today i want to update my marvel license from Trial to basic. #curl -XPUT 'http://localhost/_license' -d @mylic.json
#{"statusCode":400,"error":"Bad Request","message":"Missing kbn-version header"
then i modify elasticsearch.yml,append the follow lines:
It looks like the error may be as simple as the fact that you are not specifying the port for your Elasticsearch node. It appears that port 80 is being used by Kibana on that server, so you probably want to send:
Note the :9200 in there. 9200 is the default HTTP port for Elasticsearch; if you changed it, as Kibana was changed, then simply fill in the appropriate number there.
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.