add tests for elastic search versioning in query builder and make es version 2 default

This commit is contained in:
Mauro Stettler
2015-11-25 16:23:28 +09:00
parent ada9bfcae8
commit a30ceefa6b
3 changed files with 36 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ function (angular, _, config) {
$scope.httpConfigPartialSrc = 'app/features/org/partials/datasourceHttpConfig.html';
var defaults = {name: '', type: 'graphite', url: '', access: 'proxy' };
var defaults = {name: '', type: 'graphite', url: '', access: 'proxy', jsonData: {'elasticsearchVersion': 2} };
$scope.indexPatternTypes = [
{name: 'No pattern', value: undefined},