X-pack Kibana monitoring how change the default time select


(andy_zhou) #1

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


(andy_zhou) #2

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
  }));
});

(system) #3

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