-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
add cumulative and/or incremental cardinality date histogram #43550
Comments
Pinging @elastic/es-analytics-geo |
Looking forward for this feature |
@LeeDr Do you know if this is supported in Kibana at this time? I am unable to figure out how to do this and my search ultimately leads me here. |
@jayaramcs So sorry but I missed that this was added (a year ago) and just now created a Kibana issue to add the functionality. elastic/kibana#70337 Update: it sounds like this was already on the roadmap for Kibana team. I'll update again if I find another issue to track. |
Thank you @LeeDr . |
Describe the feature: I've seen several requests in Elasticsearch and Kibana to query for cumulative or incremental cardinality counts over time and it doesn't currently seem possible. Several Elasticsearch developers discussed on Slack for over an hour and didn't really find a solution. Older discuss posts still show up in query results with no solutions.
For example;
In the above docs, unique count on a daily date histogram buckets would show
2019-06-20 3
2019-06-21 2
But many people want to know new unique visitors to their website from their data. The cumulative values would be;
2019-06-20 3
2019-06-21 4 (because "a" was already counted on the 20th so "d" is new)
Or the incremental values would be;
2019-06-20 3
2019-06-21 1 (1 new unique visitor in this 2 day time span)
One example discuss post; https://discuss.elastic.co/t/how-can-i-get-a-date-histogram-cumulative-cardinality/58067
https://discuss.elastic.co/t/cardinality-over-date-histogram/171373
The next step would be to get Kibana to be able to use this type of aggregation for posts like this;
https://discuss.elastic.co/t/how-to-calculate-daily-new-users-to-a-website/186214
Most cases I've seen people just want the cardinality count. But they could actually want the unique values in some cases.
The text was updated successfully, but these errors were encountered: