# How do I hide LicenseService warnings aka. advertisments

**URL:** <https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427>\
**Category:** Elasticsearch\
**Created:** [June 30, 2017, 12:44pm UTC](https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427 "2017-06-30T12:44:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuelcolvin](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@samuelcolvin](https://discuss.elastic.co/u/samuelcolvin)\
**Post date:** [June 30, 2017, 12:44pm UTC](https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427/1 "2017-06-30T12:44:54Z")

</div>

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)

```
environment:
- cluster.name=docker-cluster
- xpack.security.enabled=false
- xpack.watcher.enabled=false
- xpack.monitoring.enabled=false
- xpack.graph.enabled=false
- xpack.ml.enabled=false
```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 30, 2017, 1:49pm UTC](https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427/2 "2017-06-30T13:49:36Z")

</div>

I believe this is similar to:

> <https://github.com/elastic/elasticsearch-docker/issues/36>

I think you'd like to remove x-pack here. Would that work for you? [https://github.com/elastic/elasticsearch-docker/issues/36#issuecomment-299520261](https://github.com/elastic/elasticsearch-docker/issues/36#issuecomment-299520261)

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

---

<div class="post-metadata">

**Author:** ![samuelcolvin](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@samuelcolvin](https://discuss.elastic.co/u/samuelcolvin)\
**Post date:** [June 30, 2017, 2:08pm UTC](https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427/3 "2017-06-30T14:08:33Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 30, 2017, 3:18pm UTC](https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427/4 "2017-06-30T15:18:59Z")

</div>

Sure. Just click on "Free License" from here: [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 28, 2017, 3:19pm UTC](https://discuss.elastic.co/t/how-do-i-hide-licenseservice-warnings-aka-advertisments/91427/5 "2017-07-28T15:19:31Z")

</div>

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