From 5aeb484116fd989e7afb9fa25ea1f18d4219044e Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Thu, 6 Feb 2020 01:19:25 +0100 Subject: [PATCH] [6.8] Limit fetching index patterns (#56603) (#56840) Should address #56352. --- src/ui/public/index_patterns/_get.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/public/index_patterns/_get.js b/src/ui/public/index_patterns/_get.js index c5991939323b7e..5bbff722bb6297 100644 --- a/src/ui/public/index_patterns/_get.js +++ b/src/ui/public/index_patterns/_get.js @@ -37,7 +37,7 @@ export function IndexPatternsGetProvider(Private) { const promise = savedObjectsClient.find({ type: 'index-pattern', - fields: [], + fields: ['title'], perPage: 10000 }).then(resp => { return resp.savedObjects.map(obj => _.get(obj, field));