How to find optimal value for setting search.max_buckets

Hi,

I am recently facing an issue for a visualization (visual builder) which use "Max" aggregation on a numeric field whose result is them grouped by another field.

Now, when I group the aggregation by everything, I can see the results. Whereas when I try by grouping the result with another field, then the visualization doesn't show any data.

I suspect this issue is related to setting search.max_buckets value. Reason: I have the same visualization in two different kibana instances and the ES source is same. One is self hosted and another is on Elastic cloud. The ones on Elastic cloud is causing the issue. I tried to increase the search.max_buckets value from 10000 to 100000 but it didn't work.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.