mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Merge branch 'custom-timeseries'
This commit is contained in:
commit
0ae192b42d
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user