UNPKG

kibana-with-account

Version:

kibana-with-account is develop based kibana project

3,745 lines 110 kB
var _ = require('lodash');
module.exports = {
  'columns': [
      {
        'title': 'Top 2 geo.dest: CN',
        'valueFormatter': _.identity,
        'geoJson': {
          'type': 'FeatureCollection',
          'features': [
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  22.5,
                  22.5
                ]
              },
              'properties': {
                'value': 42,
                'geohash': 's',
                'center': [
                  22.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 's',
                    'value': 's',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 42,
                  'value': 42,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    0,
                    0
                  ],
                  [
                    45,
                    0
                  ],
                  [
                    45,
                    45
                  ],
                  [
                    0,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  22.5
                ]
              },
              'properties': {
                'value': 31,
                'geohash': 'd',
                'center': [
                  -67.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'd',
                    'value': 'd',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 31,
                  'value': 31,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    0
                  ],
                  [
                    -45,
                    0
                  ],
                  [
                    -45,
                    45
                  ],
                  [
                    -90,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  112.5,
                  22.5
                ]
              },
              'properties': {
                'value': 30,
                'geohash': 'w',
                'center': [
                  112.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'w',
                    'value': 'w',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 30,
                  'value': 30,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    90,
                    0
                  ],
                  [
                    135,
                    0
                  ],
                  [
                    135,
                    45
                  ],
                  [
                    90,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -112.5,
                  22.5
                ]
              },
              'properties': {
                'value': 25,
                'geohash': '9',
                'center': [
                  -112.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '9',
                    'value': '9',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 25,
                  'value': 25,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -135,
                    0
                  ],
                  [
                    -90,
                    0
                  ],
                  [
                    -90,
                    45
                  ],
                  [
                    -135,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  67.5,
                  22.5
                ]
              },
              'properties': {
                'value': 22,
                'geohash': 't',
                'center': [
                  67.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 't',
                    'value': 't',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 22,
                  'value': 22,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    45,
                    0
                  ],
                  [
                    90,
                    0
                  ],
                  [
                    90,
                    45
                  ],
                  [
                    45,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  22.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 22,
                'geohash': 'k',
                'center': [
                  22.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'k',
                    'value': 'k',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 22,
                  'value': 22,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    0,
                    -45
                  ],
                  [
                    45,
                    -45
                  ],
                  [
                    45,
                    0
                  ],
                  [
                    0,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 21,
                'geohash': '6',
                'center': [
                  -67.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '6',
                    'value': '6',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 21,
                  'value': 21,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    -45
                  ],
                  [
                    -45,
                    -45
                  ],
                  [
                    -45,
                    0
                  ],
                  [
                    -90,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  22.5,
                  67.5
                ]
              },
              'properties': {
                'value': 19,
                'geohash': 'u',
                'center': [
                  22.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'u',
                    'value': 'u',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 19,
                  'value': 19,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    0,
                    45
                  ],
                  [
                    45,
                    45
                  ],
                  [
                    45,
                    90
                  ],
                  [
                    0,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  67.5,
                  67.5
                ]
              },
              'properties': {
                'value': 18,
                'geohash': 'v',
                'center': [
                  67.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'v',
                    'value': 'v',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 18,
                  'value': 18,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    45,
                    45
                  ],
                  [
                    90,
                    45
                  ],
                  [
                    90,
                    90
                  ],
                  [
                    45,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -112.5,
                  67.5
                ]
              },
              'properties': {
                'value': 11,
                'geohash': 'c',
                'center': [
                  -112.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'c',
                    'value': 'c',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 11,
                  'value': 11,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -135,
                    45
                  ],
                  [
                    -90,
                    45
                  ],
                  [
                    -90,
                    90
                  ],
                  [
                    -135,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 10,
                'geohash': 'r',
                'center': [
                  157.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'r',
                    'value': 'r',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 10,
                  'value': 10,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    -45
                  ],
                  [
                    180,
                    -45
                  ],
                  [
                    180,
                    0
                  ],
                  [
                    135,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  112.5,
                  67.5
                ]
              },
              'properties': {
                'value': 9,
                'geohash': 'y',
                'center': [
                  112.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'y',
                    'value': 'y',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 9,
                  'value': 9,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    90,
                    45
                  ],
                  [
                    135,
                    45
                  ],
                  [
                    135,
                    90
                  ],
                  [
                    90,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  22.5
                ]
              },
              'properties': {
                'value': 9,
                'geohash': 'e',
                'center': [
                  -22.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'e',
                    'value': 'e',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 9,
                  'value': 9,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    0
                  ],
                  [
                    0,
                    0
                  ],
                  [
                    0,
                    45
                  ],
                  [
                    -45,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  67.5
                ]
              },
              'properties': {
                'value': 8,
                'geohash': 'f',
                'center': [
                  -67.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'f',
                    'value': 'f',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 8,
                  'value': 8,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    45
                  ],
                  [
                    -45,
                    45
                  ],
                  [
                    -45,
                    90
                  ],
                  [
                    -90,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 8,
                'geohash': '7',
                'center': [
                  -22.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '7',
                    'value': '7',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 8,
                  'value': 8,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    -45
                  ],
                  [
                    0,
                    -45
                  ],
                  [
                    0,
                    0
                  ],
                  [
                    -45,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  112.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 6,
                'geohash': 'q',
                'center': [
                  112.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'q',
                    'value': 'q',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 6,
                  'value': 6,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    90,
                    -45
                  ],
                  [
                    135,
                    -45
                  ],
                  [
                    135,
                    0
                  ],
                  [
                    90,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  67.5
                ]
              },
              'properties': {
                'value': 6,
                'geohash': 'g',
                'center': [
                  -22.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'g',
                    'value': 'g',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 6,
                  'value': 6,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    45
                  ],
                  [
                    0,
                    45
                  ],
                  [
                    0,
                    90
                  ],
                  [
                    -45,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  22.5
                ]
              },
              'properties': {
                'value': 4,
                'geohash': 'x',
                'center': [
                  157.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'x',
                    'value': 'x',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 4,
                  'value': 4,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    0
                  ],
                  [
                    180,
                    0
                  ],
                  [
                    180,
                    45
                  ],
                  [
                    135,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -157.5,
                  67.5
                ]
              },
              'properties': {
                'value': 3,
                'geohash': 'b',
                'center': [
                  -157.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'b',
                    'value': 'b',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 3,
                  'value': 3,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -180,
                    45
                  ],
                  [
                    -135,
                    45
                  ],
                  [
                    -135,
                    90
                  ],
                  [
                    -180,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  67.5
                ]
              },
              'properties': {
                'value': 2,
                'geohash': 'z',
                'center': [
                  157.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'z',
                    'value': 'z',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 2,
                  'value': 2,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    45
                  ],
                  [
                    180,
                    45
                  ],
                  [
                    180,
                    90
                  ],
                  [
                    135,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  67.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': 'm',
                'center': [
                  67.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'm',
                    'value': 'm',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    45,
                    -45
                  ],
                  [
                    90,
                    -45
                  ],
                  [
                    90,
                    0
                  ],
                  [
                    45,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  -67.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': '5',
                'center': [
                  -22.5,
                  -67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '5',
                    'value': '5',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    -90
                  ],
                  [
                    0,
                    -90
                  ],
                  [
                    0,
                    -45
                  ],
                  [
                    -45,
                    -45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  -67.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': '4',
                'center': [
                  -67.5,
                  -67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '4',
                    'value': '4',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    -90
                  ],
                  [
                    -45,
                    -90
                  ],
                  [
                    -45,
                    -45
                  ],
                  [
                    -90,
                    -45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -112.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': '3',
                'center': [
                  -112.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'CN',
                      'value': 'CN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '3',
                    'value': '3',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -135,
                    -45
                  ],
                  [
                    -90,
                    -45
                  ],
                  [
                    -90,
                    0
                  ],
                  [
                    -135,
                    0
                  ]
                ]
              }
            }
          ],
          'properties': {
            'min': 1,
            'max': 42
          }
        }
      },
      {
        'label': 'Top 2 geo.dest: IN',
        'valueFormatter': _.identity,
        'geoJson': {
          'type': 'FeatureCollection',
          'features': [
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  22.5,
                  22.5
                ]
              },
              'properties': {
                'value': 32,
                'geohash': 's',
                'center': [
                  22.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 's',
                    'value': 's',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 32,
                  'value': 32,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    0,
                    0
                  ],
                  [
                    45,
                    0
                  ],
                  [
                    45,
                    45
                  ],
                  [
                    0,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 31,
                'geohash': '6',
                'center': [
                  -67.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '6',
                    'value': '6',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 31,
                  'value': 31,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    -45
                  ],
                  [
                    -45,
                    -45
                  ],
                  [
                    -45,
                    0
                  ],
                  [
                    -90,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  22.5
                ]
              },
              'properties': {
                'value': 28,
                'geohash': 'd',
                'center': [
                  -67.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'd',
                    'value': 'd',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 28,
                  'value': 28,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    0
                  ],
                  [
                    -45,
                    0
                  ],
                  [
                    -45,
                    45
                  ],
                  [
                    -90,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  112.5,
                  22.5
                ]
              },
              'properties': {
                'value': 27,
                'geohash': 'w',
                'center': [
                  112.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'w',
                    'value': 'w',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 27,
                  'value': 27,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    90,
                    0
                  ],
                  [
                    135,
                    0
                  ],
                  [
                    135,
                    45
                  ],
                  [
                    90,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  67.5,
                  22.5
                ]
              },
              'properties': {
                'value': 24,
                'geohash': 't',
                'center': [
                  67.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 't',
                    'value': 't',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 24,
                  'value': 24,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    45,
                    0
                  ],
                  [
                    90,
                    0
                  ],
                  [
                    90,
                    45
                  ],
                  [
                    45,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  22.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 23,
                'geohash': 'k',
                'center': [
                  22.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'k',
                    'value': 'k',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 23,
                  'value': 23,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    0,
                    -45
                  ],
                  [
                    45,
                    -45
                  ],
                  [
                    45,
                    0
                  ],
                  [
                    0,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  22.5,
                  67.5
                ]
              },
              'properties': {
                'value': 17,
                'geohash': 'u',
                'center': [
                  22.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'u',
                    'value': 'u',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 17,
                  'value': 17,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    0,
                    45
                  ],
                  [
                    45,
                    45
                  ],
                  [
                    45,
                    90
                  ],
                  [
                    0,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -112.5,
                  22.5
                ]
              },
              'properties': {
                'value': 16,
                'geohash': '9',
                'center': [
                  -112.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '9',
                    'value': '9',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 16,
                  'value': 16,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -135,
                    0
                  ],
                  [
                    -90,
                    0
                  ],
                  [
                    -90,
                    45
                  ],
                  [
                    -135,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  67.5,
                  67.5
                ]
              },
              'properties': {
                'value': 14,
                'geohash': 'v',
                'center': [
                  67.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'v',
                    'value': 'v',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 14,
                  'value': 14,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    45,
                    45
                  ],
                  [
                    90,
                    45
                  ],
                  [
                    90,
                    90
                  ],
                  [
                    45,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  22.5
                ]
              },
              'properties': {
                'value': 13,
                'geohash': 'e',
                'center': [
                  -22.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'e',
                    'value': 'e',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 13,
                  'value': 13,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    0
                  ],
                  [
                    0,
                    0
                  ],
                  [
                    0,
                    45
                  ],
                  [
                    -45,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 9,
                'geohash': 'r',
                'center': [
                  157.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'r',
                    'value': 'r',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 9,
                  'value': 9,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    -45
                  ],
                  [
                    180,
                    -45
                  ],
                  [
                    180,
                    0
                  ],
                  [
                    135,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  112.5,
                  67.5
                ]
              },
              'properties': {
                'value': 6,
                'geohash': 'y',
                'center': [
                  112.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'y',
                    'value': 'y',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 6,
                  'value': 6,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    90,
                    45
                  ],
                  [
                    135,
                    45
                  ],
                  [
                    135,
                    90
                  ],
                  [
                    90,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  67.5
                ]
              },
              'properties': {
                'value': 6,
                'geohash': 'g',
                'center': [
                  -22.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'g',
                    'value': 'g',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 6,
                  'value': 6,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    45
                  ],
                  [
                    0,
                    45
                  ],
                  [
                    0,
                    90
                  ],
                  [
                    -45,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  67.5
                ]
              },
              'properties': {
                'value': 6,
                'geohash': 'f',
                'center': [
                  -67.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'f',
                    'value': 'f',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 6,
                  'value': 6,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    45
                  ],
                  [
                    -45,
                    45
                  ],
                  [
                    -45,
                    90
                  ],
                  [
                    -90,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -112.5,
                  67.5
                ]
              },
              'properties': {
                'value': 5,
                'geohash': 'c',
                'center': [
                  -112.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'c',
                    'value': 'c',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 5,
                  'value': 5,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -135,
                    45
                  ],
                  [
                    -90,
                    45
                  ],
                  [
                    -90,
                    90
                  ],
                  [
                    -135,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -157.5,
                  67.5
                ]
              },
              'properties': {
                'value': 4,
                'geohash': 'b',
                'center': [
                  -157.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'b',
                    'value': 'b',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 4,
                  'value': 4,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -180,
                    45
                  ],
                  [
                    -135,
                    45
                  ],
                  [
                    -135,
                    90
                  ],
                  [
                    -180,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  112.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 3,
                'geohash': 'q',
                'center': [
                  112.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'q',
                    'value': 'q',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 3,
                  'value': 3,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    90,
                    -45
                  ],
                  [
                    135,
                    -45
                  ],
                  [
                    135,
                    0
                  ],
                  [
                    90,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -67.5,
                  -67.5
                ]
              },
              'properties': {
                'value': 2,
                'geohash': '4',
                'center': [
                  -67.5,
                  -67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '4',
                    'value': '4',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 2,
                  'value': 2,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -90,
                    -90
                  ],
                  [
                    -45,
                    -90
                  ],
                  [
                    -45,
                    -45
                  ],
                  [
                    -90,
                    -45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  67.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': 'z',
                'center': [
                  157.5,
                  67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'z',
                    'value': 'z',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    45
                  ],
                  [
                    180,
                    45
                  ],
                  [
                    180,
                    90
                  ],
                  [
                    135,
                    90
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  22.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': 'x',
                'center': [
                  157.5,
                  22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'x',
                    'value': 'x',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    0
                  ],
                  [
                    180,
                    0
                  ],
                  [
                    180,
                    45
                  ],
                  [
                    135,
                    45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  157.5,
                  -67.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': 'p',
                'center': [
                  157.5,
                  -67.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'p',
                    'value': 'p',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    135,
                    -90
                  ],
                  [
                    180,
                    -90
                  ],
                  [
                    180,
                    -45
                  ],
                  [
                    135,
                    -45
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  67.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': 'm',
                'center': [
                  67.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': 'm',
                    'value': 'm',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    45,
                    -45
                  ],
                  [
                    90,
                    -45
                  ],
                  [
                    90,
                    0
                  ],
                  [
                    45,
                    0
                  ]
                ]
              }
            },
            {
              'type': 'Feature',
              'geometry': {
                'type': 'Point',
                'coordinates': [
                  -22.5,
                  -22.5
                ]
              },
              'properties': {
                'value': 1,
                'geohash': '7',
                'center': [
                  -22.5,
                  -22.5
                ],
                'aggConfigResult': {
                  '$parent': {
                    '$parent': {
                      '$parent': null,
                      'key': 'IN',
                      'value': 'IN',
                      'aggConfig': {
                        'id': '3',
                        'type': 'terms',
                        'schema': 'split',
                        'params': {
                          'field': 'geo.dest',
                          'size': 2,
                          'order': 'desc',
                          'orderBy': '1',
                          'row': false
                        }
                      },
                      'type': 'bucket'
                    },
                    'key': '7',
                    'value': '7',
                    'aggConfig': {
                      'id': '2',
                      'type': 'geohash_grid',
                      'schema': 'segment',
                      'params': {
                        'field': 'geo.coordinates',
                        'precision': 1
                      }
                    },
                    'type': 'bucket'
                  },
                  'key': 1,
                  'value': 1,
                  'aggConfig': {
                    'id': '1',
                    'type': 'count',
                    'schema': 'metric',
                    'params': {}
                  },
                  'type': 'metric'
                },
                'rectangle': [
                  [
                    -45,
                    -45
                  ],
                  [
                    0,
                    -45
                  ],
                  [
                    0,
                    0
                  ],
                  [
                    -45,
                    0
                  ]
                ]
              }
            }
          ],
          'properties': {
            'min': 1,
            'max': 32
          }
        }
      }
    ]
};