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

Deprecate event.module #847

Closed
wants to merge 1 commit into from
Closed

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented May 13, 2020

event.module was introduced together with event.dataset. With #845 the new stream fields are introduced and module is not used anymore.

When we introduce event.module the assumption was that this is the field used for quering but it turned out in most casese event.dataset is needed and required. I expect event.module to be removed from ECS in the next major version but this does not mean, it cant still be used by Beats for example.

event.module was introduced together with event.dataset. With elastic#845 the new stream fields are introduced and module is not used anymore.

When we introduce event.module the assumption was that this is the field used for quering but it turned out in most casese event.dataset is needed and required. I expect event.module to be removed from ECS in the next major version but this does not mean, it cant still be used by Beats for example.
@ruflin ruflin requested a review from webmat May 13, 2020 07:37
@ruflin ruflin self-assigned this May 13, 2020
@ruflin
Copy link
Contributor Author

ruflin commented May 13, 2020

  • Where should I put the changelog?
  • Does deprecation exist in ECS today?

@webmat
Copy link
Contributor

webmat commented May 14, 2020

No specific deprecation support currently exist yet. There's no attribute in the YAML to flag fields that disappear, for example. But it's something we want to add eventually.

However we can still deprecate via a mention in the description of the field, in the meantime.

Changelog entries go to the file CHANGELOG.next.md.

@ruflin
Copy link
Contributor Author

ruflin commented May 19, 2020

I'm closing this for now as I opened this to have a discussion (but did not label it 🤦 ) and it created more controversy then I wanted.

@ruflin ruflin closed this May 19, 2020
@ruflin ruflin deleted the deprecate-event.module branch May 19, 2020 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants