-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[WIP] Import ECS 1.0.0 Beta 1 field definitions #9014
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We lost source/destination.geo.region_iso_code
and the Suricata module is producing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
http
anduser_agent
were taken out because of various concerns. This PR will add them to the common fields YML file in the meantime.TODO
http
field seturl.hostname
geo.region_iso_code
, which is not in ECS yet (Addgeo.region_iso_code
ecs#177)Discussion points
agent.hostname
andhost.name
libbeat/_meta/fields.common.yml
, just to get integration tests to pass and see if there's other failures.