mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Inventory/Metric/Custom threshold] Specify fields instead of '*' in fieldCaps request (#184968)
Resolves https://github.com/elastic/kibana/issues/184909
This commit is contained in:
parent
2755b89429
commit
00153fd70f
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ export const doFieldsExist = async (
|
|||
// Get all supported fields
|
||||
const respMapping = await esClient.fieldCaps({
|
||||
index,
|
||||
fields: '*',
|
||||
fields,
|
||||
});
|
||||
|
||||
const fieldsExisted: Record<string, boolean> = {};
|
||||
|
|
|
@ -130,7 +130,7 @@ export const doFieldsExist = async (
|
|||
// Get all supported fields
|
||||
const respMapping = await esClient.fieldCaps({
|
||||
index,
|
||||
fields: '*',
|
||||
fields,
|
||||
});
|
||||
|
||||
const fieldsExisted: Record<string, boolean> = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue