I downloaded an extend trail license that I received from Elastic and I am trying to install it on my Elasticsearch cluster.
I am getting an error and unable to do it.
mpswrk1@eaasrt!MPS:mpswrk1> curl -XPUT -u elastic:<pass> 'http://localhost:9200/_license' -d @license.json
Warning: Couldn't read data from file "license.json", this makes an empty
Warning: POST.
{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse_exception","reason":"Failed to derive xcontent"},"status":400}mpswrk1@eaasrt!MPS:mpswrk1>
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.