diff --git a/public/kibana-integrations/loader/visualize_data_loader.ts b/public/kibana-integrations/loader/visualize_data_loader.ts index aa75f5113..4d69b4258 100644 --- a/public/kibana-integrations/loader/visualize_data_loader.ts +++ b/public/kibana-integrations/loader/visualize_data_loader.ts @@ -78,9 +78,7 @@ export class VisualizeDataLoader { const responseHandlers: ResponseHandlerDescription[] = Private(ResponseHandlerProvider); if (((vis || {}).type || {}).title === 'Visual Builder') { - console.log(`Processing ${vis.title} with custom request handler`) const config = $injector.get('config'); - const $rootScope = $injector.get('$rootScope') const discoverPendingUpdates = $injector.get('discoverPendingUpdates') const $http = $injector.get('$http') const buildEsQuery = Private(BuildESQueryProvider); @@ -127,10 +125,8 @@ export class VisualizeDataLoader { resolve({}); const err = new Error(resp.message); err.stack = resp.stack; - console.log('DEBUG', err) }); } catch (e) { - console.log('DEBUG 2', e) return resolve(); } } diff --git a/server/integration-files/visualizations/agents/agents-general.js b/server/integration-files/visualizations/agents/agents-general.js index a135b348c..c717767e1 100644 --- a/server/integration-files/visualizations/agents/agents-general.js +++ b/server/integration-files/visualizations/agents/agents-general.js @@ -31,7 +31,7 @@ export default [ _source: { title: 'Top 5 groups', visState: - '{"title":"Top 5 rule groups","type":"tagcloud","params":{"scale":"linear","orientation":"single","minFontSize":11,"maxFontSize":24,"showLabel":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"rule.groups","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}', + '{"title":"Top 5 rule groups","type":"tagcloud","params":{"scale":"linear","orientation":"single","minFontSize":11,"maxFontSize":24,"showLabel":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"rule.groups","size":10,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/server/integration-files/visualizations/overview/overview-general.js b/server/integration-files/visualizations/overview/overview-general.js index b4e930675..77ccb9534 100644 --- a/server/integration-files/visualizations/overview/overview-general.js +++ b/server/integration-files/visualizations/overview/overview-general.js @@ -241,7 +241,7 @@ export default [ _source: { title: 'Top 5 rule groups', visState: - '{"title":"Top 5 rule groups","type":"tagcloud","params":{"scale":"linear","orientation":"single","minFontSize":11,"maxFontSize":24,"showLabel":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"rule.groups","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}', + '{"title":"Top 5 rule groups","type":"tagcloud","params":{"scale":"linear","orientation":"single","minFontSize":11,"maxFontSize":24,"showLabel":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"rule.groups","size":10,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}', uiStateJSON: '{}', description: '', version: 1,