mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
be53605c5b
commit
ea221a4efb
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ export function registerCanvasUsageCollector(server) {
|
|||
index,
|
||||
ignoreUnavailable: true,
|
||||
filterPath: ['hits.hits._source.canvas-workpad'],
|
||||
body: { query: { term: { type: { value: CANVAS_TYPE } } } },
|
||||
body: { query: { bool: { filter: { term: { type: CANVAS_TYPE } } } } },
|
||||
};
|
||||
|
||||
const esResponse = await callCluster('search', searchParams);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue