diff --git a/src/plugins/vis_type_timelion/server/series_functions/es/lib/build_request.js b/src/plugins/vis_type_timelion/server/series_functions/es/lib/build_request.js index 2149e44125be0..38618ccf66d6f 100644 --- a/src/plugins/vis_type_timelion/server/series_functions/es/lib/build_request.js +++ b/src/plugins/vis_type_timelion/server/series_functions/es/lib/build_request.js @@ -38,7 +38,7 @@ export default function buildRequest(config, tlConfig, scriptedFields, timeout) // Use the kibana filter bar filters if (config.kibana) { - bool.filter = _.get(tlConfig, 'request.payload.extended.es.filter'); + bool.filter = _.get(tlConfig, 'request.body.extended.es.filter'); } const aggs = {