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

[Observability RAC]: Search a term in the reason field doesn't seem to work #108177

Closed
Tracked by #108121
mgiota opened this issue Aug 11, 2021 · 1 comment · Fixed by #108648
Closed
Tracked by #108121

[Observability RAC]: Search a term in the reason field doesn't seem to work #108177

mgiota opened this issue Aug 11, 2021 · 1 comment · Fixed by #108648
Assignees
Labels
Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Theme: rac label obsolete v7.15.0 v8.0.0

Comments

@mgiota
Copy link
Contributor

mgiota commented Aug 11, 2021

📝 Summary

When user types in the search bar of the Observability Alerts table a term that is present in the reason field, he should get results that match this term. I was not able to get any results neither by searching for a keyword that was present in the Alerts table nor by searching for the full reason text.

UPDATE: The reason field is indexed as a keyword, which means it is not analyzed, but stored as a single term instead. The expected behavior for this issue would be that querying for the full literal reason message works.

Steps to reproduce

  1. Make sure to add following to your kibana configuration
xpack.observability.unsafe.alertingExperience.enabled: true
xpack.ruleRegistry.write.enabled: true
  1. Create an Inventory rule type from Metrics App with sensitive threshold data
  2. Verify that you get some alerts in the Observability Alerts table

Screenshot 2021-08-11 at 13 24 27

  1. In the search bar search for a keyword that was present in the reason field CPU in my example or kibana.alert.reason: "CPU usage is greater than a threshold of 0 (current value is 88%)"

  2. No alerts appear

✔️ Acceptance criteria

Searching for the full text that appears in the reason field should display the filtered results in the Observability alerts table.

@mgiota mgiota added Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.15.0 v8.0.0 Theme: rac label obsolete labels Aug 11, 2021
@weltenwort
Copy link
Member

weltenwort commented Aug 13, 2021

The reason field is indexed as a keyword, which means it is not analyzed, but stored as a single term instead. The expected behavior for that would be that querying for the full literal reason message works.

We can discuss whether it should be analyzed or not, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Theme: rac label obsolete v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants