Prior to version 5 onwards, if we create a Data Table visualization with terms sub--aggregation, we could specify size as 0 which would list all the results in Kibana.
Now with V5.1.1 size as 0 cannot be specified as it shows an error,
How can we view all the results in Kibana?
For now you can enter a very large number (e.g. 99999999) and I've filed enhancement request #9677 to get this functionality back.
Looks like in v5.0 we implemented passing 0 differently so that it would actually pass size: 0 to elasticsearch which caused an error, so we restricted the ability to set 0 (see https://github.com/elastic/kibana/pull/8339). Perhaps we should allow clearing that field and interpret that as get all results.