elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.48k stars 8.05k forks source link

[data views] Field conflicts sometimes cause very large payloads for field_caps and fields_for_wildcards_requests #180332

Open mattkime opened 3 months ago

mattkime commented 3 months ago

When a data view hits a large number of indices, the field conflict data can be very large due to list of which index corresponds to which field type. This is potentially costly wherever there's network communication, from the browser receiving the file to inter node communication between ES servers to create the response.

In most cases, we're not interested in this information and its not displayed. fields_for_wildcard should accept a param that tosses the index lists. Ideally this could be passed through to field_caps as well.

default (1).json.zip

elasticmachine commented 3 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)