[aggConfig] restore use of @timestamp

This commit is contained in:
spalger 2016-10-24 17:04:13 -07:00
parent 0e11c2257b
commit e71b0f26c7
2 changed files with 8 additions and 8 deletions

View file

@ -51,7 +51,7 @@ describe('ResponseWriter class', function () {
it('collects the aggConfigs from each column in aggStack', function () {
let aggs = [
{ type: 'date_histogram', schema: 'segment', params: { field: 'time' } },
{ type: 'date_histogram', schema: 'segment', params: { field: '@timestamp' } },
{ type: 'terms', schema: 'segment', params: { field: 'extension' } },
{ type: 'avg', schema: 'metric', params: { field: 'bytes' } }
];

View file

@ -197,7 +197,7 @@ describe('AggConfig', function () {
{
type: 'count',
schema: 'metric',
params: {field: 'time'}
params: {field: '@timestamp'}
}
]
}, {
@ -295,7 +295,7 @@ describe('AggConfig', function () {
{
type: 'count',
schema: 'metric',
params: {field: 'time'}
params: {field: '@timestamp'}
}
]
},
@ -305,7 +305,7 @@ describe('AggConfig', function () {
{
type: 'count',
schema: 'metric',
params: {field: 'time'}
params: {field: '@timestamp'}
},
{
type: 'date_histogram',
@ -421,7 +421,7 @@ describe('AggConfig', function () {
{
type: 'date_histogram',
schema: 'segment',
params: { field: 'time' }
params: { field: '@timestamp' }
}
]
});
@ -433,7 +433,7 @@ describe('AggConfig', function () {
{
type: 'count',
schema: 'metric',
params: { field: 'time' }
params: { field: '@timestamp' }
}
]
});
@ -447,7 +447,7 @@ describe('AggConfig', function () {
{
type: 'date_histogram',
schema: 'segment',
params: { field: 'time' }
params: { field: '@timestamp' }
}
]
});
@ -464,7 +464,7 @@ describe('AggConfig', function () {
{
type: 'date_histogram',
schema: 'segment',
params: { field: 'time' }
params: { field: '@timestamp' }
}
]
});