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 rules] ECS fields such as service.name is not available in the alert table fields #191068

Open
maryam-saeidi opened this issue Aug 22, 2024 · 2 comments
Assignees
Labels
Feature:Alerting Team:obs-ux-management Observability Management User Experience Team

Comments

@maryam-saeidi
Copy link
Member

maryam-saeidi commented Aug 22, 2024

Summary

Currently, we don't show all ECS fields in the alert table fields, but we use fieldsForAAD list that is provided by each rule type like this:

fields: [...fieldsForAAD, 'kibana.*'],

Here, you see we don't have service.name in the alert table fields list, but we have this information in the AAD document:

Alert table fields AAD document
image image

Since we are adding all the ecs group by fields to the AAD, we should also show those fields in the alert table so that the user can see them in the table and group alerts based on those (PR that added grouping functionality)

Questions

  • Can we show all the ECS fields that actually have value in the alert table fields?
    After discussing this topic with ResponseOps, we need to come up with a list of the most common ECS fields to include in all the observability alerts in order to avoid showing many unused fields. (related document))

List of fields

🚧 To be included

Acceptance criteria

  • Update all the observability rules to have the fields as mentioned above in the fieldsForAAD
@maryam-saeidi maryam-saeidi added Feature:Alerting Team:obs-ux-management Observability Management User Experience Team labels Aug 22, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@maryam-saeidi
Copy link
Member Author

maryam-saeidi commented Aug 22, 2024

Can we show all the ECS fields that actually have value in the alert table fields?

@elastic/response-ops Can you please help with this question?
What was the original reasoning for relying on fieldsForAAD to show fields in the alert table instead of relying on mappings? Was it because of the possibility of not having the value and showing a lot of unused fields?

Now that we save all the ECS group fields in the AAD document, I wonder if we need to show all the ECS fields that actually have value, or if not possible, all ECS fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

No branches or pull requests

2 participants