How do I hide LicenseService warnings aka. advertisments

I understand elastic search is trying to make money, but constant log messages about not having a license are getting pretty annoying. (more do the point they're annoying me enough that I'm less willing than before to pay for elastic search)

How do I disable them?

I'm getting the error below pretty regularly and it's fairly iritating

[2017-06-30T12:36:38,537][WARN ][o.e.l.LicenseService     ] [QsSRzxx]
# License [will expire] on [Wednesday, July 05, 2017]. 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:
# - security
#  - Cluster health, cluster stats and indices stats operations are blocked
#  - All data operations (read and write) continue to work
# - watcher
#  - PUT / GET watch APIs are disabled, DELETE watch API continues to work
#  - Watches execute and write to the history
#  - The actions of the watches don't execute
# - monitoring
#  - The agent will stop collecting cluster and indices metrics
#  - The agent will stop automatically cleaning indices older than [xpack.monitoring.history.duration]
# - graph
#  - Graph explore APIs are disabled
# - ml
#  - Machine learning APIs are disabled

I'm using es 5.4.2 via docker with the following env variables set (which I hoped would stop these messages)

- xpack.watcher.enabled=false
- xpack.monitoring.enabled=false
- xpack.graph.enabled=false

I believe this is similar to:

I think you'd like to remove x-pack here. Would that work for you?

Another workaround is to ask for a BASIC (free) license until this issue is closed?

I tried adding

RUN /usr/share/elasticsearch/bin/elasticsearch-plugin remove x-pack

But to no avail - lots of errors. Can I get a BASIC linense please? What do I dod to obtain with minimum hassle for you guys?

Sure. Just click on "Free License" from here:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.