# 5.6 License time testing/running out

**URL:** https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677
**Category:** Elasticsearch
**Tags:** license
**Created:** [September 17, 2024, 1:19pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677 "2024-09-17T13:19:30Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discuss.elastic.co/u/Chenko)
#### Post date: [September 17, 2024, 1:19pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/1 "2024-09-17T13:19:30Z")

</div>

Hello,

I want to test what happens when my license runs out on 5.6.

We currently have a prospect whose license will run out soon so I thought a good way to simulate this was to locally set up an Elastic 5.6 environment in a VM and try to let the license run out there.

However I have not found a way to do this.

I have a few questions:

- Any way I can test this myself?
- Does anyone know what happens when the license runs out on an elastic 5.6 instance?
  - Would elastic still function as it should?
  - What would happen to paid features?

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [September 17, 2024, 1:34pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/2 "2024-09-17T13:34:08Z")

</div>

To test it you would need a license, but 5.6 is too old, I'm not sure a trial license exists for it.

When the license expires the features that requires a license will stop working, including in this case the security features.

If I'm not wrong you will need to stop the cluster, remove the x-pack plugin, and start it again, not sure if it continues to work with a license expired because things were different in 5.6.

But since you have a valid license, You may be able to reach support.

---

<div class="post-metadata">

### Author: ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discuss.elastic.co/u/Chenko)
#### Post date: [September 17, 2024, 1:46pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/3 "2024-09-17T13:46:52Z")

</div>

Thanks for the response!

5.6 is indeed old.

> [@leandrojmp](#):
>
> When the license expires the features that requires a license will stop working, including in this case the security features.

In 5.6, the basic license does not include security features?

> [@leandrojmp](#):
>
> If I'm not wrong you will need to stop the cluster, remove the x-pack plugin, and start it again, not sure if it continues to work with a license expired because things were different in 5.6.

I see thanks.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 17, 2024, 1:49pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/4 "2024-09-17T13:49:11Z")

</div>

> [@Chenko](#):
>
> Does anyone know what happens when the license runs out on an elastic 5.6 instance?

I have not used it in a very long time, but if I remember correctly I believe some APIs, e.g. monitoring and stats, will become disabled and this will affect Kibana. Traffic will still be encrypted but it will be difficult to work with the cluster. Not sure about other commercial features.

> [@Chenko](#):
>
> In 5.6, the basic license does not include security features?

The basic license was not introduced until Elasticsearch 6.8 so does not apply to your version. Security was a pure commercial feature in Elasticsearch 5.x.

---

<div class="post-metadata">

### Author: ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discuss.elastic.co/u/Chenko)
#### Post date: [September 17, 2024, 1:55pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/5 "2024-09-17T13:55:54Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> I have not used it in a very long time, but if I remember correctly I believe some APIs, e.g. monitoring, will become disabled and this will affect Kibana. Traffic will still be encrypted but it will be difficult to work with the cluster.

Will this still happen even if I apply a basic license? (granted the features of the gold license will be gone.)

> [@Christian\_Dahlqvist](#):
>
> The basic license was not introduced until Elasticsearch 6.8 (or so) so does not apply to your version. Security was a pure commercial feature in Elasticsearch 5.x.

I can request a license [here](https://license.elastic.co/registration/) though? Which is the page to request the basic license.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 17, 2024, 1:57pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/6 "2024-09-17T13:57:43Z")

</div>

> [@Chenko](#):
>
> Will this still happen even if I apply a basic license? (granted the features of the gold license will be gone.)

There is as far as I know no basic license available for that version. If you want to use a basic license you need to upgrade to Elasticsearch 6.8 or later.

> [@Chenko](#):
>
> I can request a license [here](https://license.elastic.co/registration/) though? Which is the page to request the basic license.

I had not seen this before and have never used that page. In that case I would recommend setting up a test cluster and apply the received license there to see what happens as the docs seem to be light on details.

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [September 17, 2024, 3:36pm UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/7 "2024-09-17T15:36:53Z")

</div>

> [@Chenko](#):
>
> I can request a license [here](https://license.elastic.co/registration/) though? Which is the page to request the basic license.

I'm not sure this works anymore, both 5.X and 6.X are discontinued and not supported anymore.

You may try to request a license through this page, but I'm not sure you will receive an answer, only someone from Elastic can confirm.

Also, security was not free until 6.8 and only the native realm.

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [September 18, 2024, 2:28am UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/8 "2024-09-18T02:28:58Z")

</div>

> [@Chenko](#):
>
> In 5.6, the basic license does not include security features?

From memory, the basic license for v5.6 supported monitoring only. Every other x-pack feature required a paid (or trial) license.

> [@Chenko](#):
>
> Does anyone know what happens when the license runs out on an elastic 5.6 instance?

I believe this page is still accurate:

- [License Expiration | X-Pack for the Elastic Stack [5.6] | Elastic](https://www.elastic.co/guide/en/x-pack/5.6/license-expiration.html)

---

<div class="post-metadata">

### Author: ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discuss.elastic.co/u/Chenko)
#### Post date: [September 18, 2024, 6:10am UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/9 "2024-09-18T06:10:58Z")

</div>

Thank you all for the replies! I am not quite sure which response to pick for the solution 😅

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [September 20, 2024, 1:09am UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/10 "2024-09-20T01:09:26Z")

</div>

Security was definitely not available in the basic license in 5.6. It was only added to basic in 6.8 and 7.1

- [Security for Elasticsearch is now free | Elastic Blog](https://www.elastic.co/blog/security-for-elasticsearch-is-now-free)

The basic license didn't include a lot until X-Pack was included by default in Elasticsearch 6.3

- [The Opening of X-Pack: Phase 1 Complete | Elastic Blog](https://www.elastic.co/blog/opening-x-pack-phase-1-complete)

I don't think there's a definitive place that lists what was included in basic in 5.6, but it definitely wasn't a lot (and definitely wasn't security).

The license expiration page I linked to is the most authoritative statement of what will happen when the license expires. It may not be perfect, but it will be better than our rough recollections.

---

<div class="post-metadata">

### Author: ![Chenko](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Chenko](https://discuss.elastic.co/u/Chenko)
#### Post date: [September 20, 2024, 9:49am UTC](https://discuss.elastic.co/t/5-6-license-time-testing-running-out/366677/11 "2024-09-20T09:49:43Z")

</div>

Thanks for all the replies!  
Could you also take a look at [this post](https://discuss.elastic.co/t/6-x-license-time-running-out/366869)?

The question is basically the same one, however what would happen in the next major version, 6.x.
