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] Anomaly explorer in categorization job : View examples does not support index pattern on multiple indices e.g. a*,b* #100328

Closed
jguay opened this issue May 19, 2021 · 1 comment · Fixed by #100789
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.14.0

Comments

@jguay
Copy link
Contributor

jguay commented May 19, 2021

Kibana/Elasticsearch version:
7.12.1
Describe the bug:

Steps to reproduce:

  1. Create an index pattern including two patterns : test*,abcd*
  2. Create a Categorization anomaly detection job that will trigger an alert
  3. In Anomaly explorer, click on View examples :

Screenshot 2021-05-19 at 13 21 17

This opens a link like this :

https://localhost:5601/app/discover#/?_g=(refreshInterval:(display:Off,pause:!t,value:0),time:(from:'2021-05-06T02:00:00.000Z',mode:absolute,to:'2021-05-06T02:15:00.000Z'))&_a=(filters%3A!()%2Cindex%3A'test*'%2Cquery%3A(language%3Akuery%2Cquery%3A'category%3A%22catC%22%20and%20category%3A%22TeamC%22%20and%20category%3A%22CompanyC%22'))

So it opens discover with index pattern test*, 2 scenarios :
1- If the index pattern with this name exist, it will have half the data so it might not give any example that triggered the anomaly
2- If the index pattern with this name does not exist, it will open discover on the default index pattern, for example an unrelated index with different fields/data:

Screenshot 2021-05-19 at 14 41 45

Expected behavior:
This should open Discover with index pattern test*,abcd*

@jguay jguay added bug Fixes for quality problems that affect the customer experience :ml Feature:Anomaly Detection ML anomaly detection labels May 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@peteharverson peteharverson changed the title Anomaly explorer in categorization job : View examples does not support index pattern on multiple indices e.g. a*,b* [ML] Anomaly explorer in categorization job : View examples does not support index pattern on multiple indices e.g. a*,b* May 19, 2021
@peteharverson peteharverson self-assigned this May 27, 2021
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.14.0
Projects
None yet
3 participants