Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transforms to allow group by geo_point #56121

Open
thekofimensah opened this issue May 4, 2020 · 2 comments
Open

Transforms to allow group by geo_point #56121

thekofimensah opened this issue May 4, 2020 · 2 comments

Comments

@thekofimensah
Copy link

I'm creating an entity centric index using transforms and I'm finding that I can't group_by geo_point data type. This is too bad because I'm creating a profile for each of my local ip addresses that group by a couple of fields into the entity and I think it's bizarre I can't do that with a geo_point field.. should I be able to add it like any other field?

Currently I'm working around it by adding a pipeline to the transform but ideally I can do it directly in the transform.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

@benwtrent
Copy link
Member

Composite aggs support group_by geotile. So, transforms COULD do something similar. But, the group_by items would be aggregated geotile buckets #45810

benwtrent added a commit that referenced this issue May 11, 2020
This adds support for grouping by geo points. This uses the agg [geotile_grid](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geotilegrid-aggregation.html).

I am opting to store the tile results of group_by as a `geo_shape` so that users can query the results. Additionally, the shapes could be visualized and filtered in the kibana maps app.

relates to #56121
benwtrent added a commit to benwtrent/elasticsearch that referenced this issue May 11, 2020
This adds support for grouping by geo points. This uses the agg [geotile_grid](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geotilegrid-aggregation.html).

I am opting to store the tile results of group_by as a `geo_shape` so that users can query the results. Additionally, the shapes could be visualized and filtered in the kibana maps app.

relates to elastic#56121
benwtrent added a commit that referenced this issue May 11, 2020
This adds support for grouping by geo points. This uses the agg [geotile_grid](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geotilegrid-aggregation.html).

I am opting to store the tile results of group_by as a `geo_shape` so that users can query the results. Additionally, the shapes could be visualized and filtered in the kibana maps app.

relates to #56121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants