[WIP] Import ECS 1.0.0 Beta 1 field definitions#9014
[WIP] Import ECS 1.0.0 Beta 1 field definitions#9014webmat wants to merge 16 commits intoelastic:masterfrom
Conversation
19f099c to
32ce077
Compare
My sanity check so far has only been to ensure `make update` completes without conflicts.
|
Overall LGTM. It breaks the docs build. Seems to be related to the http fields? Perhaps they are now defined twice on the top level? (Just a guess) |
f7cdf08 to
e303ae5
Compare
|
@ruflin The doc generation no longer breaks. I don't like the fixes I had to do to get there, however. I'll finish writing a more cogent analysis about it tomorrow. If you could take a look at the fixes I had to do in each of Hb, Mb and Pb, and tell me what you think, I'd love that. If you don't have time, no worries, I'll bring up the issue with people who are around tomorrow, and also formulate my analysis here. |
| description: > | ||
| City name. | ||
|
|
||
| - name: region_iso_code |
There was a problem hiding this comment.
We lost source/destination.geo.region_iso_code and the Suricata module is producing it.
There was a problem hiding this comment.
Ok, it's not currently in ECS. I've created an issue for this: elastic/ecs#177
|
Most recent push breaks in a Metricbeat's test for Couchbase on Ubuntu: It also breaks in Filebeat tests on Darwin: |
|
Here's a copy of a recap I've written elsewhere about the progress of this issue :-) I'm not sure the way common fields are implemented are a good fit for sharing the ECS fields. I think the system to share common fields was tailored to share a very small amount of very generic fields (like "beat.*"), but doesn't work well when sharing 100+ fields. It exposes too many conflicts that may not be necessary:
In conclusion, I think we could modify the mechanism for sharing common fields to make this much smoother:
Another thing we could do, to move things along in the shorter term is to take "http" out of this PR with the cleanup this entails. The "http" field set has been taken out of ECS for Beta 1, because we're debating whether we should nest protocol breakdowns under "network." or not. If we decide to do so, most of the problems above are moot. |
|
No longer relevant. Was done in small parts. |
This PR is a first attempt to re-import ECS field definitions, as of 1.0.0-beta1.
Notes
httpanduser_agentwere taken out because of various concerns. This PR will add them to the common fields YML file in the meantime.TODO
httpfield seturl.hostnamegeo.region_iso_code, which is not in ECS yet (Addgeo.region_iso_codeecs#177)Discussion points
agent.hostnameandhost.namelibbeat/_meta/fields.common.yml, just to get integration tests to pass and see if there's other failures.