Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Opensearch Dashboards using docvalue_fields when it's not needed #7760

Open
CpuID opened this issue Aug 20, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@CpuID
Copy link

CpuID commented Aug 20, 2024

Describe the bug

Copied from elastic/kibana#68672 - same bug that exists in Opensearch Dashboards also.

When creating simple daily count visualizations, or really any Kibana based query. Everything breaks due to kibana including more than 100 doc_values, even if only one, "@timestamp" is actually needed.
This includes ilm, apm, beats, you name it. After we updated to 7.6.0 and updated our index patterns Kibana is completely useless.

To Reproduce

Steps to reproduce the behavior:

  1. Open up Visualize
  2. select Data Table
  3. use an index pattern/search that has a decent volume of data and fields in it, with a Terms aggregation
  4. click Inspect -> Requests -> Request to see all the docvalue_fields in there

Expected behavior

Less docvalue_fields in the query sent to Opensearch

OpenSearch Version

2.13

Dashboards Version

2.13

Plugins

None

Screenshots

image

Additional context

This issue existed in Kibana - elastic/kibana#68672 and was resolved, I believe by changing to the Fields API over on that project...?

@CpuID CpuID added bug Something isn't working untriaged labels Aug 20, 2024
@dblock dblock removed the untriaged label Sep 9, 2024
@dblock
Copy link
Member

dblock commented Sep 9, 2024

[Catch All Triage - 1, 2, 3, 4, 5]

Thanks for opening this. When contributing a fix please make sure not to look at/copy any non-APLv2-compatible/non-open-source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants