I have an elasticsearch cluster in our close environment (no internet connection). Few days ago, marvel's license in my elasticsearch cluster has expired, so I downloaded the free basic license which elastic provides in their site.
I tried to update the license with the following command :
curl -XPUT -u admin 'http://host:port/_license' -d @/path/to/bla.json
and the output I received was :
{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse_exception","reason":"Failed to derive xcontent"},"status":400}
Can you help me update my license ? Thanks :)
http://
request URL ? – Tanu--data-binary
instead of-d
? – alpert