mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
elasticsearch: default version to 5.x
This commit is contained in:
parent
f591bea696
commit
7ccc8ae298
@ -1,5 +1,3 @@
|
|||||||
///<reference path="../../../headers/common.d.ts" />
|
|
||||||
|
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
|
||||||
export class ElasticConfigCtrl {
|
export class ElasticConfigCtrl {
|
||||||
@ -9,6 +7,7 @@ export class ElasticConfigCtrl {
|
|||||||
/** @ngInject */
|
/** @ngInject */
|
||||||
constructor($scope) {
|
constructor($scope) {
|
||||||
this.current.jsonData.timeField = this.current.jsonData.timeField || '@timestamp';
|
this.current.jsonData.timeField = this.current.jsonData.timeField || '@timestamp';
|
||||||
|
this.current.jsonData.esVersion = this.current.jsonData.esVersion || 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
indexPatternTypes = [
|
indexPatternTypes = [
|
||||||
|
Loading…
Reference in New Issue
Block a user