The following error was displayed.
The request for this panel failed
Try being to create too many buckets. Must be less than or equal to: [10000] but was [10001]. This limit can be set by changing the [search.max_buckets] cluster level setting.
search.max_buckets is a cluster level setting that is designed to prevent wrongly aggregations to hurt your cluster. You can change that setting using the Cluster settings API
metrics: max_buckets is a Kibana advanced settings used by TSVB to prevent rendering too many data points (this can hurt the browser running the visualization/dashboard).
You have to follow this rule: metrics:max_buckets <= search:max_buckets
In your case the error message says: that the aggregation require 2040 buckets (that is below the 10.000 default limit if search:max_buckets but above the default 2000 buckets in metrics:max_buckets.
You can configure the metrics:max_buckets to something like 3000 or anything below the current search:max_buckets value.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.