ソースを参照

Fixed default '@timestamp' time field for elasticsearch annotations, Fixes #1444

Torkel Ödegaard 11 年 前
コミット
2de6f3434c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/app/features/elasticsearch/datasource.js

+ 1 - 1
src/app/features/elasticsearch/datasource.js

@@ -68,7 +68,7 @@ function (angular, _, config, kbn, moment) {
       var titleField = annotation.titleField || 'desc';
       var textField = annotation.textField || null;
 
-      range[annotation.timeField]= {
+      range[timeField]= {
         from: rangeUnparsed.from,
         to: rangeUnparsed.to,
       };