# Restrict time range for users in kibana

**URL:** <https://discuss.elastic.co/t/restrict-time-range-for-users-in-kibana/251371>\
**Category:** Kibana\
**Created:** [October 8, 2020, 4:52am UTC](https://discuss.elastic.co/t/restrict-time-range-for-users-in-kibana/251371 "2020-10-08T04:52:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [October 8, 2020, 5:38am UTC](https://discuss.elastic.co/t/restrict-time-range-for-users-in-kibana/251371/2 "2020-10-08T05:38:24Z")

</div>

Hi,

Depending on your usecase and license it might or might not possible(have not tested those options myself):

If you have a platinum license you can try the [document level security](https://www.elastic.co/guide/en/elasticsearch/reference/current/document-level-security.html) to restrict the access for the user to documents from the last 90 days.

Otherwise, you might want to try [filtered aliases](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered) to create an Alias on the Index containing only the last 90 days and grant access to this alias instead of the original index. Downside: The alias acts as an index so if you have visualizations they would have to be updated to point to the alias.

Best regards  
Wolfram

---

_[View the full topic](https://discuss.elastic.co/t/restrict-time-range-for-users-in-kibana/251371)._
