# Xpack.monitoring.history.duration with a value other than "7d" does not work

**URL:** <https://discuss.elastic.co/t/xpack-monitoring-history-duration-with-a-value-other-than-7d-does-not-work/238134>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [June 22, 2020, 5:48pm UTC](https://discuss.elastic.co/t/xpack-monitoring-history-duration-with-a-value-other-than-7d-does-not-work/238134 "2020-06-22T17:48:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [June 22, 2020, 7:16pm UTC](https://discuss.elastic.co/t/xpack-monitoring-history-duration-with-a-value-other-than-7d-does-not-work/238134/2 "2020-06-22T19:16:27Z")

</div>

Hello @Rysiu,

If you're on a basic license, the history is limited to 7 days, regardless of the setting.

---

_[View the full topic](https://discuss.elastic.co/t/xpack-monitoring-history-duration-with-a-value-other-than-7d-does-not-work/238134)._
