Search code examples
elasticsearchelasticsearch-pluginelasticsearch-2.0elasticsearch-marvel

Failed to update marvel license


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 :)


Solution

  • In the end the problem was actually the json itself. Thanks anyway for your help guys :)