How can I get the behaviour flow of user using collection of logs?

Background:

I'm using ArangoDB to hold an app's log data that is similar to web traffic 
(I hope that this is a good use case)

I've got two things I'm doing from the nodejs app that processes it
1) insert parsed data
2) pre-aggregate data to get event counts quickly

In some cases I may need to get more advanced information such as the most 
common behaviour flow.

assuming I've got data such as this:
[
{"id":"917", "date":"2016-08-01", "time":"10:33:37", "location":"home"},
{"id":"917", "date":"2016-08-01", "time":"10:33:39", 
"location":"category/1"},
{"id":"917", "date":"2016-08-01", "time":"10:33:45", 
"location":"category/4"},
{"id":"917", "date":"2016-08-01", "time":"10:33:45", "location":"item/6"},
{"id":"917", "date":"2016-08-01", "time":"10:33:50", "location":"home"},
etc...
]

the problem I've found already is that even though I'm inserting them 
sequentially, once I add two lines with the same timestamp (no millisecond 
info) I can't tell which one came first.

Is this something I could use the graph component for? 

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to