I would like to calculate number of concurrent user sessions for a given
date. For example if login_timestamp/logout_timestamp of one user overlaps
with login_timestamp/logout_timestamp of other user then they are said to
have concurrent session and in above example, users abc and def are
having concurrent sessions. Hence output should have 2 against 2014-04-11
date.
Is it possible in es and if so then can anybody help to form a query for
this?
I would like to calculate number of concurrent user sessions for a given
date. For example if login_timestamp/logout_timestamp of one user overlaps
with login_timestamp/logout_timestamp of other user then they are said to
have concurrent session and in above example, users abc and def are
having concurrent sessions. Hence output should have 2 against 2014-04-11
date.
Is it possible in es and if so then can anybody help to form a query for
this?
I cant think of any straight and efficient way to implement this.
But then you can write your own map reduce script ( Feature in 1.4.0) to
gather this information -
I would like to calculate number of concurrent user sessions for a given
date. For example if login_timestamp/logout_timestamp of one user overlaps
with login_timestamp/logout_timestamp of other user then they are said to
have concurrent session and in above example, users abc and def are
having concurrent sessions. Hence output should have 2 against 2014-04-11
date.
Is it possible in es and if so then can anybody help to form a query for
this?
I would like to calculate number of concurrent user sessions for a given
date. For example if login_timestamp/logout_timestamp of one user overlaps
with login_timestamp/logout_timestamp of other user then they are said to
have concurrent session and in above example, users abc and def are
having concurrent sessions. Hence output should have 2 against 2014-04-11
date.
Is it possible in es and if so then can anybody help to form a query for
this?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.