[sample data] update web log geo.src field to match country code of geo.coordinates#110885
Merged
nreese merged 3 commits intoelastic:masterfrom Sep 7, 2021
Merged
[sample data] update web log geo.src field to match country code of geo.coordinates#110885nreese merged 3 commits intoelastic:masterfrom
nreese merged 3 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/kibana-gis (Team:Geo) |
pgayvallet
approved these changes
Sep 1, 2021
timroes
approved these changes
Sep 2, 2021
Contributor
timroes
left a comment
There was a problem hiding this comment.
Tested sample data dashboard and it seems consistant and visualizations making all sense. thanks for taking care of it. LGTM
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 7, 2021
…eo.coordinates (elastic#110885) * [sample data] update web log geo.src field to match country code of geo.coordinates * fix functional tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Contributor
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
jloleysens
added a commit
to jloleysens/kibana
that referenced
this pull request
Sep 8, 2021
…-link-to-kibana-app * 'master' of github.com:elastic/kibana: (61 commits) [Logs UI] Fix alert previews for thresholds of `0` (elastic#111150) [Archive Migration][Partial] discover apps-discover (elastic#110437) [APM] Set start date of APM ML job to -4 weeks (elastic#111375) [ML] APM Latency Correlations: Code consolidation. (elastic#110790) [Discover] Fix indices permission for multiline test (elastic#111284) [Detection Rules] Add 7.15 rules (elastic#111464) [Security Solution][Endpoint][Host Isolation] Hide isolate host option in alert details rather than disabling (elastic#111064) React version of angular license view (elastic#111317) [APM] Fix link in readme (elastic#111362) [Security Solution] add agent field to generator (elastic#111428) [Dashboard] Retain Tags on Quicksave (elastic#111015) Reorder App Search ingestion methods (elastic#111361) Port performance docs to new docs system. (elastic#111063) [Security Solution][RAC] Fixes updatedAt loading bug (elastic#111010) [sample data] update web log geo.src field to match country code of geo.coordinates (elastic#110885) [Security solution] [Endpoint] Fix bad artifact migration (elastic#111294) Fix copy typo. (elastic#111203) [build] Remove empty optimize directory (elastic#111393) [Maps] fix term join not updating when editing right field (elastic#111030) [Fleet] Set default settings in component template instead of the index template (elastic#111197) ... # Conflicts: # x-pack/plugins/reporting/public/management/__snapshots__/report_listing.test.tsx.snap # x-pack/plugins/reporting/public/management/report_listing.test.tsx
chrisronline
pushed a commit
to chrisronline/kibana
that referenced
this pull request
Sep 8, 2021
…eo.coordinates (elastic#110885) * [sample data] update web log geo.src field to match country code of geo.coordinates * fix functional tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #40401
Web logs sample data has inconsistencies between
geo.src,geo.destandgeo. coordinateswhere in most casesgeo. coordinatesis not contained in either country denoted bygeo.srcorgeo.dest. This inconsistency makes understanding the web logs samples impossible and diminishes the usefulness of web logs dashboard and maps.When web logs were originally generated,
geo.coordinateswere assigned based on a random pick in US airport locations. This assignment did not verify that the src or dest country were US.This PR fixes the problem by assigning
geo.srcfor each row to "US". That way, the source country and the geo.coordinates are always consistent. Below is the script used to update the data set.Why not update
geo.coordinatesfor original geo.src country? Well, Maps has a tutorial wheregeo.coordinatesare reverse geo coded with United States Census Bureau Combined Statistical Area (CSA). Changinggeo.coordinateswould have broken this tutorial. Also, changinggeo.coordinatesto match original geo.src country would have been harder to code.There were a few visualizations that used geo.src. Since geo.src is now always "US", these charts had to be updated to provide more meaningful visualizations. For example, the old sanky diagram kind of sucks when geo.src is always the same value

Updated charts:
