Aggregation/Clustering of Geo Points

I have a list of geo coordinates with timestamps. I want to get the areas with the most geo points for today.

Example:
{[lat, lng], time}, ..., {[lat, lng], time} -> {area, #points in area},...,area, #points in area}

I have seen that Elastic Search provides an Aggregation functionality shown here. I cannot translate that example to my use case.

Do you have an idea how I could solve this?

Basically the first thing you want to do is filter by time so you aren't grouping all the docs together by area irrespective of time.
Then you can use this agg to gather things together for your results - https://www.elastic.co/guide/en/elasticsearch/reference/2.2/search-aggregations-bucket-geohashgrid-aggregation.html