I have an index of users with a creation date timestamp. I can use ElasticSearch/Kibana to plot the doc count of users on a daily interval with the date histogram aggregate/chart. This will show me a nice result set/graph of how many new user registrations I get each day. Great!
Now I want to query/plot the total number of users in the index on per day interval -- an instance in time in the past. For example, today being Jan 3, I have a graph plotting that on Jan. 1 there were 20 total registered users, on Jan. 2 there were 100 total registered users, and on Jan. 3, 150 total users. If users cannot be deleted, this number would always be increasing, never decreasing. With the count chart that I have today (mentioned in the first paragraph), the values would be 20, 80, 50 for these days respectively.
I'm not sure what this is called. How is this done? I feel like I will have to compute these totals on a daily basis and store them. Can this result set/chart be derived from the index that I have today somehow?
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/73b6d1b1-42dc-41a3-bda3-f877939ce64a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.