# Do we require licence to enable xpack.security feature

**URL:** <https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427>\
**Category:** Kibana\
**Tags:** license\
**Created:** [October 22, 2021, 10:32am UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427 "2021-10-22T10:32:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammed.sabil](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mohammed.sabil](https://discuss.elastic.co/u/mohammed.sabil)\
**Post date:** [October 22, 2021, 10:32am UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427/1 "2021-10-22T10:32:53Z")

</div>

Hello Team,

I just wanted to know, If I wanted to use the alerting, monitoring and user administration RBAC feature in ELK stack. Do I require a license for the same?

I also wanted to know, if I would like to do integration of a tool with ELK stack in that case also do we require a license?

As today I tried to enable the xpack.security.enable=true in docker-compose of ELK i am getting error message "License is required"

Please do let me know on this.

Regards,  
Sabil.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 22, 2021, 1:47pm UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427/2 "2021-10-22T13:47:50Z")

</div>

Hi @mohammed.sabil

What version of the Elasticsearch are you using?

Basic security has been Free for quite some time.

You can see the features and license matrix [here](https://www.elastic.co/subscriptions)

---

<div class="post-metadata">

**Author:** ![mohammed.sabil](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mohammed.sabil](https://discuss.elastic.co/u/mohammed.sabil)\
**Post date:** [October 23, 2021, 7:43am UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427/3 "2021-10-23T07:43:24Z")

</div>

@stephenb thank you for the information.

Sometimes means 14 days. Right?

Regards,  
Sabil

---

<div class="post-metadata">

**Author:** ![mohammed.sabil](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mohammed.sabil](https://discuss.elastic.co/u/mohammed.sabil)\
**Post date:** [October 23, 2021, 9:25am UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427/4 "2021-10-23T09:25:04Z")

</div>

When I make xpack.security.enable is true..

Still getting an error message that unable to retrieve the licence server information

Can you please suggest?

Sabil.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 23, 2021, 2:17pm UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427/5 "2021-10-23T14:17:24Z")

</div>

Where are you seeing that error?

That error can be seen when security is improperly configured for Kibana and / or Elasticsearch.

Proper security configuration is more than just that one setting.

I suggest you read and carefully follow the documentation here.

> **[Configure security for the Elastic Stack | Elasticsearch Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-stack-security.html)**

I have also constructed a complete walkthrough here with all the essential steps for a single note and Kibana

> <https://github.com/bvader/howtos/blob/master/basic-security-elasticsearch/README.md>

---

<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:** [November 20, 2021, 2:17pm UTC](https://discuss.elastic.co/t/do-we-require-licence-to-enable-xpack-security-feature/287427/6 "2021-11-20T14:17:37Z")

</div>

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