# Possible to disable session timeout for users in Elastic Cloud?

**URL:** <https://discuss.elastic.co/t/possible-to-disable-session-timeout-for-users-in-elastic-cloud/330149>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [April 17, 2023, 3:42pm UTC](https://discuss.elastic.co/t/possible-to-disable-session-timeout-for-users-in-elastic-cloud/330149 "2023-04-17T15:42:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pocketcolin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pocketcolin/32/117585_2.png) [@pocketcolin](https://discuss.elastic.co/u/pocketcolin)\
**Post date:** [April 17, 2023, 3:42pm UTC](https://discuss.elastic.co/t/possible-to-disable-session-timeout-for-users-in-elastic-cloud/330149/1 "2023-04-17T15:42:30Z")

</div>

We have a dashboard that we display on a TV in the office 24/7 and it seems to get logged out after ~2 weeks. The dashboard graphs are setup to automatically refresh every 10 minutes. We'd prefer if it never logged out but I haven't been able to find an option for that. We are hosting Kibana and Elasticsearch with Elastic Cloud. Is there a way to disable session timeouts (for a specific user ideally, but we're flexible) in Elastic Cloud? Alternatively, is there a clever way to automatically extend the session?

---

<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:** [April 17, 2023, 10:00pm UTC](https://discuss.elastic.co/t/possible-to-disable-session-timeout-for-users-in-elastic-cloud/330149/2 "2023-04-17T22:00:27Z")

</div>

Hi @pocketcolin

Did you take a look at?

Looks like you should be able to set:

[Kibana Session Settings](https://www.elastic.co/guide/en/kibana/current/xpack-security-session-management.html#xpack-security-session-management)

[Elastic Cloud Kibana Session Settings](https://www.elastic.co/guide/en/cloud/current/ec-manage-kibana-settings.html)

There is a warning

> If you disable session idle timeout and lifespan, then Kibana will not automatically remove session information from the index unless you explicitly log out. This might lead to an infinitely growing session index. As long as either idle timeout or lifespan is configured, Kibana sessions will be cleaned up even if you don’t explicitly log out.

---

<div class="post-metadata">

**Author:** ![pocketcolin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pocketcolin/32/117585_2.png) [@pocketcolin](https://discuss.elastic.co/u/pocketcolin)\
**Post date:** [April 18, 2023, 2:27pm UTC](https://discuss.elastic.co/t/possible-to-disable-session-timeout-for-users-in-elastic-cloud/330149/3 "2023-04-18T14:27:24Z")

</div>

thanks, @stephenb ! I wasn't aware we had any access to the kibana.yml but now I know! I just updated the lifespan so I'm guessing that'll fix it, but I have to give it a week before I know for sure.

---

<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:** [May 16, 2023, 2:27pm UTC](https://discuss.elastic.co/t/possible-to-disable-session-timeout-for-users-in-elastic-cloud/330149/4 "2023-05-16T14:27:27Z")

</div>

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