Commit a9472087 by Zachary Musgrave

Fix missing downsampling name in kairos plugin

parent f1178500
......@@ -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