-
Notifications
You must be signed in to change notification settings - Fork 523
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
Update beats framework to 1304682 #1567
Conversation
04ecd59
to
f34e756
Compare
f34e756
to
905dba0
Compare
The test failure is legitimate. https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/server/tutorials/apm/saved_objects/index_pattern.json does indeed have an @jalvz / @simitt While investigating this, I noticed the diff is only done in one direction. After checking #1168 I'm not sure if that's intentional. Applying this: diff --git a/script/are_kibana_saved_objects_updated.py b/script/are_kibana_saved_objects_updated.py
index 98738c40..7ff1a985 100755
--- a/script/are_kibana_saved_objects_updated.py
+++ b/script/are_kibana_saved_objects_updated.py
@@ -81,7 +81,7 @@ def iterate(val_id, key, v1, v2):
for item1, item2 in zip(v1, v2):
ret_val = max(ret_val, iterate(val_id, key, *json_val(item1, item2)))
else:
- d = jsondiff.diff(*json_val(v1, v2))
+ d = jsondiff.JsonDiffer(syntax='symmetric').diff(*json_val(v1, v2))
if d:
ret_val = 2
print("Difference for id '{}' for key '{}'".format(val_id, key)) reveals some of our new fields missing on the kibana side:
It doesn't actually seem to cause a problem as index pattern loaded via the UI still had those fields, but I'm not sure why. |
Thanks @graphaelli for figuring this out. It is indeed very confusing that the Kibana Index Pattern does have those values. I'll take a look at that. |
#1571 and elastic/kibana#25929 are up to fix the Kibana index pattern issues. |
Thanks for putting those in @simitt. elastic/beats#9188 is in for the other test failure - that is needed for overriding |
superseded by #1582 |
Pulls in ECS field definitions