We store user interaction with application in Elasticsearch. Data is in following format:
{
"header": {
"timestamp": "2016-07-16T19:20:30.45+01:00",
"sessionID": "ABAD1D"
},
"body": {
"menuTag": "homepage"
}
}
We would like, for some date, to extract application flow. For example:
{
"from": "homepage",
"to": "otherPage",
"number": 563
}
We use sessionID to track current user. Is there a good aggregation that can help us?