Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Kibana-4's default Time Filter?

Tags:

kibana-4

I have created a dashboard in Kibana-4 and shared on my Web-app. But its default time filter is 15 minutes.
How to change the default time filter in kibana-4?

like image 485
Mahebub A Sayyed Avatar asked Apr 15 '15 15:04

Mahebub A Sayyed


2 Answers

At least as of Kibana version 7.4, and possibly for earlier releases as well:

From the left menu click on Management, then select Advanced Settings from the Kibana top menu.

Here you can change the defaults of a Kibana dashboard.

Search for timepicker:timeDefaults and click on edit and change the from value from now-15m to the value you want to set, using s for seconds, m for minutes, h for hours, w for weeks, M for months, d for days, or y for years.

I wanted to see data of past 2 years so I have set it as
{ "from": "now-2y", "to": "now", "mode": "quick" }

Finally, click on the Save button to the right of the edited field:Time filter defaults

Hope it helps.

like image 103
sid8491 Avatar answered Nov 02 '22 16:11

sid8491


In 4.5.0, you should be able to change it anytime in the Kibana ui by navigating to "Settings"->"Advanced". See this link. Just edit the timepicker:timeDefaults to something like { "from": "now-90d", "to": "now", "mode": "quick" }

like image 34
kenzie Avatar answered Nov 02 '22 16:11

kenzie