# Xpack-session out disable

**URL:** https://discuss.elastic.co/t/xpack-session-out-disable/84679
**Category:** Elasticsearch
**Created:** [May 5, 2017, 8:58am UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679 "2017-05-05T08:58:54Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Rom2](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@Rom2](https://discuss.elastic.co/u/Rom2)
#### Post date: [May 5, 2017, 8:58am UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679/1 "2017-05-05T08:58:54Z")

</div>

For X-pack in free license version is it possible to disable the session logout feature?...Also after trial period would ELK function normally as before along with the monitoring feature?

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [May 5, 2017, 6:34pm UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679/2 "2017-05-05T18:34:36Z")

</div>

Hi Romeet,

The "session logout feature" you are talking about could mean a few things. There is a setting that will automatically time out sessions after a certain amount of time, which is `xpack.security.sessionTimeout`. That setting is `null` by default, which means that sessions will stay active until the browser is closed. See [Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/x-pack/current/kibana.html)

If you are encountering sessions "timing out" on their own, it could be due to something else. There are encryption key settings that you should set in your `kibana.yml` which will ensure that sessions stay active throughout a restart of the Kibana server:

- `xpack.security.encryptionKey: "something_at_least_32_characters"`
- `xpack.reporting.encryptionKey: "something_at_least_32_characters"`

If you are using multiple instances of Kibana and have a load balancer in the environment, you must have the same string of 32 random characters configured in every instance's `kibana.yml`.

> Also after trial period would ELK function normally as before along with the monitoring feature?

After the trial period, your license will go into an expired state. You will need to register for a free Basic license (in the Monitoring app, there is a link to a registration page from the Cluster Overview page, where it tells you when your license will expire). Once you download the license JSON file, you will need to install it into your cluster.

When you are running with the free Basic license, you will want to disable the Security feature in `elasticsearch.yml` and `kibana.yml` with: `xpack.security.enabled: false`.

---

<div class="post-metadata">

### Author: ![Rom2](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@Rom2](https://discuss.elastic.co/u/Rom2)
#### Post date: [May 10, 2017, 9:19am UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679/3 "2017-05-10T09:19:22Z")

</div>

?Hi Tim,

Thanks a lot for the valuable information.

Also I would like to know the price for buying the xpack license?

Thanking You,  
Romeet Banerjee

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [May 10, 2017, 5:39pm UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679/4 "2017-05-10T17:39:34Z")

</div>

> [@Rom2](#):
>
> Also I would like to know the price for buying the xpack license?

Hi Romeet,

Just fill out the form found at the bottom of this page: [Subscriptions | Elastic Stack Products & Support | Elastic](https://www.elastic.co/subscriptions) and include any info you can give about your use case, and request a quote. Someone will contact you 😃

---

<div class="post-metadata">

### Author: ![Rom2](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@Rom2](https://discuss.elastic.co/u/Rom2)
#### Post date: [May 11, 2017, 8:18am UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679/5 "2017-05-11T08:18:24Z")

</div>

?Hi Tim,

Thanks again, I have already filled the subscription last week and am yet waiting for a reply.

Thanking You,  
Romeet Banerjee

---

<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: [June 8, 2017, 8:22am UTC](https://discuss.elastic.co/t/xpack-session-out-disable/84679/6 "2017-06-08T08:22:49Z")

</div>

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