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

Add user.groups #204

Merged
merged 3 commits into from
Dec 3, 2018
Merged

Add user.groups #204

merged 3 commits into from
Dec 3, 2018

Conversation

webmat
Copy link
Contributor

@webmat webmat commented Nov 30, 2018

Question: singular or plural?

@webmat webmat self-assigned this Nov 30, 2018
@ruflin
Copy link
Member

ruflin commented Dec 3, 2018

I remember we had a discussion around this in the past. As in lucene single and multi values are the same, we should always stick to singular I think. For example user.id can also be a group but it's still not user.ids. So I would go with user.group but as in this case it can often be plural, mention in the description that it can also be a list.

@webmat
Copy link
Contributor Author

webmat commented Dec 3, 2018

@MikePaquette Does that make sense to you as well? user.group is singular, even if in some cases we will want to have multiple groups in this field.

@MikePaquette
Copy link
Contributor

Yes @webmat singular makes sense, even if it might contain multiple value. In ECS, we've been using plural only when the field "always" (or virtually aways) contains multiple. (e.g. *.bytes).

@webmat
Copy link
Contributor Author

webmat commented Dec 3, 2018

Great! I'll rebase and merge, in this case.

@webmat webmat merged commit df9b3de into elastic:master Dec 3, 2018
@webmat webmat deleted the user-group branch December 3, 2018 15:06
webmat pushed a commit to webmat/ecs that referenced this pull request Dec 3, 2018
webmat added a commit that referenced this pull request Dec 3, 2018
Also fix a field name mistake in the changelog for #204
MikePaquette pushed a commit to MikePaquette/ecs-1 that referenced this pull request Dec 4, 2018
MikePaquette pushed a commit to MikePaquette/ecs-1 that referenced this pull request Dec 4, 2018
Also fix a field name mistake in the changelog for elastic#204
webmat added a commit that referenced this pull request Jan 23, 2019
Breaking change.

Field set name "group" was being used as a leaf field at `user.group`. It had different semantics as the field set: it was a keyword field, instead of being a nesting of the field set. This goes against a driving principle of ECS, and has been corrected.

We removed the `user.group` `keyword` field (introduced in #204), and made the `group` field set nestable at `user.group`.
webmat added a commit to webmat/ecs that referenced this pull request Mar 5, 2019
Breaking change.

Field set name "group" was being used as a leaf field at `user.group`. It had different semantics as the field set: it was a keyword field, instead of being a nesting of the field set. This goes against a driving principle of ECS, and has been corrected.

We removed the `user.group` `keyword` field (introduced in elastic#204), and made the `group` field set nestable at `user.group`.
webmat added a commit that referenced this pull request Mar 5, 2019
…#355)

Cherry-pick of PR #308 to 1.0 branch. Original message:

Breaking change.

Field set name "group" was being used as a leaf field at `user.group`. It had different semantics as the field set: it was a keyword field, instead of being a nesting of the field set. This goes against a driving principle of ECS, and has been corrected.

We removed the `user.group` `keyword` field (introduced in #204), and made the `group` field set nestable at `user.group`.
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.

None yet

3 participants