# X-pack Kibana monitoring how change the default time select

**URL:** https://discuss.elastic.co/t/x-pack-kibana-monitoring-how-change-the-default-time-select/140824
**Category:** Kibana
**Created:** [July 20, 2018, 2:23am UTC](https://discuss.elastic.co/t/x-pack-kibana-monitoring-how-change-the-default-time-select/140824 "2018-07-20T02:23:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [July 20, 2018, 2:23am UTC](https://discuss.elastic.co/t/x-pack-kibana-monitoring-how-change-the-default-time-select/140824/1 "2018-07-20T02:23:44Z")

</div>

as this the default is **10 seconds and last 1hour**  
how change this to **30 seconds and last 30miniutes**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b37e63d6b494d952c43aa94287cdbf04d02480a9.png)

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [July 20, 2018, 6:45am UTC](https://discuss.elastic.co/t/x-pack-kibana-monitoring-how-change-the-default-time-select/140824/2 "2018-07-20T06:45:11Z")

</div>

change the monitoring.js in x-pack zip file

```
uiModule.run(function (uiSettings) {
  _.set(uiSettings, 'defaults.timepicker:timeDefaults.value', JSON.stringify({
    from: 'now-1h',
    to: 'now',
    mode: 'quick'
  }));
  _.set(uiSettings, 'defaults.timepicker:refreshIntervalDefaults.value', JSON.stringify({
    display: '10 seconds',
    pause: false,
    value: 10000
  }));
});
```

---

<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: [August 17, 2018, 6:45am UTC](https://discuss.elastic.co/t/x-pack-kibana-monitoring-how-change-the-default-time-select/140824/3 "2018-08-17T06:45:13Z")

</div>

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