Rollup job with distinct/unique count

Hi,
I have to aggregate my data daily based on a couple of fields. Most of this can be done easily with the rollup functionality. I can get the max value of a field per day, the count of the logs and other simple aggregations (such as Sum, Min, etc.). But what I'm missing is the unique count functionality.

I have I field "ID" and let's say about 500 000 documents with this field. But there are only 1 000 different IDs per day, and that's the number that I need. So exactly like this unique count functionality, which you can use in any other kibana aggregation.

Is there any way to achieve this?

Thank you so much!

Is there no way to do this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.