Hello,
i'm saving the url visited of my site as single documents with a visitID and the timestamp of the impression.
I'd like to "count" the navigation paths inside a visit of my visitors.
example
If your document looks something like this:
{
"url": "home/catalog/product.html",
"visitID": 5454
"timestamp": date
}
You can just do a count aggregation once split by Terms on visitID and then split again by Terms on url.keyword (so not the analyzed URL field, the keyword one where it uses the whole string as a token).
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.