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

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.

This can be configured under management -> advanced settings

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

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 to make the http request.
The endpoint is api/kibana/settings and the payload looks like

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

thanks @Nathan_Reese

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