diff --git a/public/app/plugins/datasource/elasticsearch/query_builder.js b/public/app/plugins/datasource/elasticsearch/query_builder.js index 3a956012a86..129c52d3f02 100644 --- a/public/app/plugins/datasource/elasticsearch/query_builder.js +++ b/public/app/plugins/datasource/elasticsearch/query_builder.js @@ -126,7 +126,7 @@ function (angular) { esAgg["date_histogram"] = { "interval": this.getInterval(aggDef), "field": this.timeField, - "min_doc_count": 1, + "min_doc_count": 0, "extended_bounds": { "min": "$timeFrom", "max": "$timeTo" } }; break;