Commit df4d5ea8 by Torkel Ödegaard

Merge pull request #2898 from zachm/ztm_patch_missing_downsample

Fix missing downsampling name in kairos plugin
parents f680c152 a9472087
......@@ -284,6 +284,10 @@ function (angular, _, dateMath, kbn) {
query.aggregators = [];
if (target.downsampling !== '(NONE)') {
if (target.downsampling === undefined) {
target.downsampling = 'avg';
target.sampling = '10s';
}
query.aggregators.push({
name: target.downsampling,
align_sampling: true,
......
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