Commit 7ccc8ae2 by Torkel Ödegaard

elasticsearch: default version to 5.x

parent f591bea6
///<reference path="../../../headers/common.d.ts" />
import _ from 'lodash';
export class ElasticConfigCtrl {
......@@ -9,6 +7,7 @@ export class ElasticConfigCtrl {
/** @ngInject */
constructor($scope) {
this.current.jsonData.timeField = this.current.jsonData.timeField || '@timestamp';
this.current.jsonData.esVersion = this.current.jsonData.esVersion || 5;
}
indexPatternTypes = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment