Monday, August 8, 2016

Remove Elasticsearch license error

When you run Elasticsearch, you might encounter the following error:

[2016-08-08 18:23:17,625][ERROR][license.plugin.core      ] [Icarus]
#
# License will expire on [Sunday, September 04, 2016]. If you have a new license, please update it.
# Otherwise, please reach out to your support contact.
#
# Commercial plugins operate with reduced functionality on license expiration:
# - marvel
#  - The agent will stop collecting cluster and indices metrics
#  - The agent will stop automatically cleaning indices older than [marvel.history.duration]

If you don't have a license for Marvel, remove `marvel-agent` and `license` plugins from Elasticsearch as follows:

$ ./bin/plugin remove marvel-agent
-> Removing marvel-agent...
Removed marvel-agent
$ ./bin/plugin remove license
-> Removing license...
Removed license
ize@lunch19-VirtualBox:~/programs/elasticsearch-2.3.5$

and remove `marvel` plugin from Kibana as follows:

$ ./bin/kibana plugin --remove marvel
Removing marvel...
$

Now starting again should clear the error.

Reference:
https://www.elastic.co/guide/en/marvel/current/installing-marvel.html

No comments:

Post a Comment