Assuming an Elasticsearch mapping with the following fields:
clientId
appVersion
creationDate
geoCountry
Compose an Elasticsearch query that will aggregate on ClientId for a given creationDate range. For extra credit we can support optional filters by appVersion or geoCountry.
Part of this will probably be to generate some fake data for testing until we have real telemetry data loaded.
Assuming an Elasticsearch mapping with the following fields:
Compose an Elasticsearch query that will aggregate on
ClientId
for a givencreationDate
range. For extra credit we can support optional filters byappVersion
orgeoCountry
.Part of this will probably be to generate some fake data for testing until we have real telemetry data loaded.