Open flash1293 opened 4 years ago
Pinging @elastic/kibana-core (Team:Core)
Since this issue was created, we're now supporting PIT search as a (strongly recommended) solution to search for more than 10k objects / to 'fetch all'. I wonder if we shouldn't just check that all usages of savedObjects:listingLimit
are properly using PIT based searches?
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
This could also just be done by adding the proper validation to the registered setting, here:
Reassigning to the owning team
Setting
savedObjects:listingLimit
to a number above 10k will fail listing requests with a "Result window is too large" on clusters not configuringmax_result_window
for the.kibana
index (because all of these are fetched at once).It should be either completely forbidden to do so or show a warning making you aware of this fact.