I am currently working on a project in which I am storing user activity
logs in elasticsearch. the user field in the log is like
{"user":"abc@yahoo.com"}. I have a timestamp field for each activity, that
describes when this activity was recorded. Can i generate date histogram on
the basis of number of users in a particular time period. eg the histogram
entry must show the number of users on that time. I can have this
implemented by obtaining facet counts, but i need to get counts on various
intervals and various ranges with minimum queries. Please guide me in this
regard. Thanks.
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Use range query (
Elasticsearch Platform — Find real-time answers at scale | Elastic) to
obtain users in a specific range and then apply facets on it to obtain
counts
On Fri, May 17, 2013 at 12:10 PM, atifa.perveen@elastica.co wrote:
I am currently working on a project in which I am storing user activity
logs in elasticsearch. the user field in the log is like {"user":"
abc@yahoo.com"}. I have a timestamp field for each activity, that
describes when this activity was recorded. Can i generate date histogram on
the basis of number of users in a particular time period. eg the histogram
entry must show the number of users on that time. I can have this
implemented by obtaining facet counts, but i need to get counts on various
intervals and various ranges with minimum queries. Please guide me in this
regard. Thanks.
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Thanks,
Aash
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.