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

[ML] Saved search using KQL with negation operator (NOT) returns a blank page on ML job creation #68298

Closed
ppf2 opened this issue Jun 4, 2020 · 1 comment · Fixed by #71831
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.9.0

Comments

@ppf2
Copy link
Member

ppf2 commented Jun 4, 2020

Kibana version: Tested in both 7.6.0 and 7.7.1

Elasticsearch version: Same as Kibana

When creating a ML anomaly detection job from a saved search in Kibana, if the saved search contains a KQL that includes the "not" operator, e.g., NOT field_name:something, the job creation fails without any errors (in either ES or Kibana) and the page simply refreshes to a blank page without providing further options to proceed with the actual creation. If the saved search has just field_name:something, everything works. I haven't tested all the other operators, but a:b AND c:d also works.

image

Saved search: export (2).ndjson.zip

Workaround: Switch the default KQL query option back to the previous Lucene default:

image

@ppf2 ppf2 added bug Fixes for quality problems that affect the customer experience :ml Feature:Anomaly Detection ML anomaly detection labels Jun 4, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@jgowdyelastic jgowdyelastic changed the title Saved search using KQL with negation operator (NOT) returns a blank page on ML job creation [ML] Saved search using KQL with negation operator (NOT) returns a blank page on ML job creation Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.9.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants