-
Notifications
You must be signed in to change notification settings - Fork 417
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
Making all *.name fields be multi-field #2118
Comments
FWIW, I think any normalization like this is worth the effort. Literally just ran into this issue for user.name |
Agreed there are benefits to better semantic consistency. Some patterns in naming conventions have emerged over time, but not all patterns are consistent across field sets. Two challenges I see:
*Tokenization examplesA user may want to query for hosts matching
Another case with a simple machine name,
|
I mean we could go the other way around as well @ebeahan? And just have all as keywords? As long as they are consistent its fine. One or two fields breaking the rule is not that big of a deal, but when its more a 50/50 distribution it feels a bit bad, and its harder to expect what types the fields should be. |
Similar to #2047, it would be nice if certain fields that are reused a large amount would be a bit more consistent.
Looking at
*.name
, which is a large part of ECS, there is about 50/50 consistency between keyword only and a multifield mapping. Would it be possible to make it all one or the other?While trying to make dynamic templating match for ECS fields, one of the biggest inconsistencies are this specific field name.
The text was updated successfully, but these errors were encountered: