Skip to content

Commit

Permalink
[sample data] update web log geo.src field to match country code of g…
Browse files Browse the repository at this point in the history
…eo.coordinates
  • Loading branch information
nreese committed Sep 1, 2021
1 parent 77890b1 commit 98352ab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/maps/maps-getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ and lighter shades will symbolize countries with less traffic.

. In **Statistics source**, set:
** **Index pattern** to **kibana_sample_data_logs**
** **Join field** to **geo.src**
** **Join field** to **geo.dest**

. Click **Add layer**.

. In **Layer settings**, set:

** **Name** to `Total Requests by Country`
** **Name** to `Total Requests by Destination`
** **Opacity** to 50%

. Add a Tooltip field:
Expand Down
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const layerList = [
},
{
id: 'edh66',
label: 'Total Requests by Country',
label: 'Total Requests by Destination',
minZoom: 0,
maxZoom: 24,
alpha: 0.5,
Expand All @@ -41,7 +41,7 @@ const layerList = [
type: 'DYNAMIC',
options: {
field: {
name: '__kbnjoin__count_groupby_kibana_sample_data_logs.geo.src',
name: '__kbnjoin__count_groupby_kibana_sample_data_logs.geo.dest',
origin: 'join',
},
color: 'Greys',
Expand Down Expand Up @@ -75,7 +75,7 @@ const layerList = [
type: 'ES_TERM_SOURCE',
id: '673ff994-fc75-4c67-909b-69fcb0e1060e',
indexPatternTitle: 'kibana_sample_data_logs',
term: 'geo.src',
term: 'geo.dest',
indexPatternRefName: 'layer_1_join_0_index_pattern',
metrics: [
{
Expand Down

0 comments on commit 98352ab

Please sign in to comment.