Bounce Rate Query Elasticsearch -
I am planning to implement a query to calculate bounce rate using the elasticsearch query.
How to use the input of the aggregation results using the script? {"Aggs": {"monthly": {"date_histogram": {"field": "timestamp", "interval": "" "" "," ags ": {" Visits_greater_than_one ": {" Terms ": {" field ":" sessionId "," min_doc_count ": 2}}}," Eggs ": {" Visitor_count ": {" cardinality ": {" field ":" sessionId "}} }}}}
thanks, AKDERRY POTO
Some solutions have been found to address the problem
{"aggs": {"monthly": {"date_histogram": {"area": "timestamp", "interval": " {"Field": {"field": "sessionId", "min_doc_count": 2}}, "Visitor_count": {"cardinality": {"field": "month"}, "ags": {"visits_greater_than_one" SessionId "}}}}}} For the sake of the approach, we need to do it differently, where we warn of the result, we will have two separate buckets, the number of sessions in which the number of sessions will be, whose multiple entry and the interval During that visitor will be (visitor_count - visits_greater_than_one) / visitor_count my bounce rate (visitor_count - visits_greater_than_one) to visit the session user One page
Comments
Post a Comment