# Setting Default refreshInterval value to 30 seconds and isRefreshPaused to false in kibana 7.4.2

**URL:** <https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512>\
**Category:** Kibana\
**Created:** [March 21, 2020, 10:05am UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512 "2020-03-21T10:05:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [March 21, 2020, 10:05am UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512/1 "2020-03-21T10:05:44Z")

</div>

Hi,  
I want to set default value of refresh to 30 seconds and paused button to stop state initially. Please  
suggest how to achieve this by making changes in kibana code base and  
From where we are getting these default values ?

Currently -  
default refresh value is 0 seconds.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 21, 2020, 9:24pm UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512/2 "2020-03-21T21:24:14Z")

</div>

This can be configured under management -\> advanced settings

 ![Screen Shot 2020-03-21 at 3.23.07 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f5772ab5b0c0cc525600a0865298f83ebbc102bc.png)

---

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [March 24, 2020, 6:20am UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512/3 "2020-03-24T06:20:43Z")

</div>

Instead of setting it through advance settings, Can i set it through elastic search.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 24, 2020, 12:51pm UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512/4 "2020-03-24T12:51:13Z")

</div>

> Can i set it through Elasticsearch

No, you can not set an advanced setting directly in Elasticsearch.

Kibana does use an API to set advanced settings. Use these docs [Using the APIs | Kibana Guide [7.6] | Elastic](https://www.elastic.co/guide/en/kibana/7.6/using-api.html) to make the http request.  
The endpoint is `api/kibana/settings` and the payload looks like

```auto
{
  "changes": {
    "timepicker:refreshIntervalDefaults": "{\"pause\": true,\"value\": 30}"
  }
}

```

---

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [March 31, 2020, 12:15pm UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512/5 "2020-03-31T12:15:03Z")

</div>

thanks @Nathan_Reese

---

<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:** [April 28, 2020, 12:15pm UTC](https://discuss.elastic.co/t/setting-default-refreshinterval-value-to-30-seconds-and-isrefreshpaused-to-false-in-kibana-7-4-2/224512/6 "2020-04-28T12:15:03Z")

</div>

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