From 5668ec7cb51e006d9e07190066a809b6ea8dec4a Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Tue, 5 Mar 2013 11:06:45 -0700 Subject: [PATCH] Added timestamp index option --- panels/dashcontrol/module.js | 1 + panels/timepicker/editor.html | 32 ++++++++++++++++++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/panels/dashcontrol/module.js b/panels/dashcontrol/module.js index 71b3d075ea8..4b06e3a4b47 100644 --- a/panels/dashcontrol/module.js +++ b/panels/dashcontrol/module.js @@ -32,6 +32,7 @@ angular.module('kibana.dashcontrol', []) // Long ugly if statement for figuring out which dashboard to load on init // If there is no dashboard defined, find one if(_.isUndefined($scope.dashboards)) { + console.log('ok, defining') // First check the URL for a path to a dashboard if(!(_.isUndefined($routeParams.type)) && !(_.isUndefined($routeParams.id))) { var _type = $routeParams.type; diff --git a/panels/timepicker/editor.html b/panels/timepicker/editor.html index 76b243a8d98..05195f3f0be 100644 --- a/panels/timepicker/editor.html +++ b/panels/timepicker/editor.html @@ -10,13 +10,33 @@
Index Settings
-
-
Index pattern Absolutes in double quotes
- +
+
+

+ Time stamped indices use a dated index pattern instead of pointing directly + to one specific index. For example, to match the default logstash index pattern + you might use "logstash-"yyyy.mm.dd. The quotes around "logstash-" + are important as they instruct Kibana not to treat those letters as a pattern. +

+

+ See http://blog.stevenlevithan.com/archives/date-time-format + for documentation on date formatting. +

+ +
-
-
Failover Index If none match the pattern
- +
+
+
Timestamped
+
+
+
Index pattern Absolutes in double quotes
+ +
+
+
Failover Index If index not found
+ +