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] Wrong results for CSV reports with "is one of" filter #54

Closed
joshuali925 opened this issue May 17, 2021 · 1 comment
Closed

[BUG] Wrong results for CSV reports with "is one of" filter #54

joshuali925 opened this issue May 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joshuali925
Copy link
Member

Describe the bug
PR: #33

  • Save a saved search in discover that uses is one of filter. If only one item is added in the filter, server crashes:
server    log   [18:37:58.412] [error][opendistroReportsKibana][plugins] Failed to generate report: Error: Query string is required for full text query!
server    log   [18:37:58.413] [error][opendistroReportsKibana][plugins] Error: Query string is required for full text query!
    at MatchPhraseQuery.toJSON (/Users/lijshu/Projects/7.10.2/kibana/.kibana-reports/kibana-reports/node_modules/elastic-builder/lib/queries/full-text-queries/mono-field-query-base.js:88:23)
...
  • If there are multiple items in a negated is one of filter, csv report is inconsistent with discover results since filters are not handled correctly

To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@joshuali925 joshuali925 added bug Something isn't working Beta untriaged labels May 17, 2021
@joshuali925 joshuali925 self-assigned this May 17, 2021
@joshuali925
Copy link
Member Author

fixed by #33

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