mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Exclude assets from canvas usage query - fixes #34513
This commit is contained in:
parent
f1048be2c3
commit
126b119b5a
1 changed files with 4 additions and 1 deletions
|
@ -141,7 +141,10 @@ export function registerCanvasUsageCollector(server) {
|
|||
size: 10000, // elasticsearch index.max_result_window default value
|
||||
index,
|
||||
ignoreUnavailable: true,
|
||||
filterPath: ['hits.hits._source.canvas-workpad'],
|
||||
filterPath: [
|
||||
'hits.hits._source.canvas-workpad',
|
||||
'-hits.hits._source.canvas-workpad.assets',
|
||||
],
|
||||
body: { query: { bool: { filter: { term: { type: CANVAS_TYPE } } } } },
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue