Get "Time picker defaults"

Hi team, can anybody help to receive "Time picker defaults" value from advanced settings in Kibana? What is the index or file where it`s placed? My task is to refer to the parameter in my custom plugin.

All advanced settings are stored in a special saved object of type config. However, if you are developing a custom plugin there should be a config service available everywhere as well that has already fetched all of these values.

In the recent versions of Kibana it's the core.uiSettings service - it's used all over the place.
In older versions (when still working with angular), you should be able to get a config service injected providing the same functionality.

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