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] Searching multiple rollup indices only return data from the last index #960

Open
DucQuach opened this issue Sep 28, 2023 · 0 comments
Labels
bug Something isn't working rollup small

Comments

@DucQuach
Copy link

DucQuach commented Sep 28, 2023

What is the bug?
I have multiple rollup indices. E.g: rollup_logs-000001, rollup_logs-000002, ... one for each day
When I try to query these rollup indices, it only returns the data from the last index. Same as when I try to create a visualization.
If I query each index, the data returns correctly for each of them.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Create multiple rollup indices. E.g: rollup_logs-000001, rollup_logs-000002, ...
  2. Create an index pattern "rollup_logs*"
  3. Create a visualization from the index pattern
  4. See the data will only return for the last index

What is the expected behavior?
It should return data from all of the rollup indices

What is your host/environment?

  • Cloud Hosted: AWS Opensearch Service 2.7

Do you have any screenshots?
Result for querying "rollup_logs-000045"
1
Result for querying "rollup_logs-000046"
2

Finally, result for querying both "rollup_logs-000045,rollup_logs-000046". See how it says in the "shards": 6 successful, meaning it queried both indices but the result only from the 46
3

Do you have any additional context?
Add any other context about the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rollup small
Projects
Status: Todo
Development

No branches or pull requests

2 participants