Regardless of which version of ownCloud server one is running and which db, what is the suggested way to check user’s activity? For example how does one answer the question “what is the last time user X changed any of their files?”
The official documentation refers to occ commands, but these are not very useful, because they track the web interface logins. Also what I see in the database table oc_accounts seems only related to users actively logging in via the web interface.
I have lots of users using the client on various platforms. So far I’ve only been looking into the logfiles to find such clues. The client does not access via the web interface but uses the API therefore every operation is performed using an obtained access token. The last web login is quite useless in this case, unfortunately.
The question is, is there any place in the db where I can find when was the last action by user X performed? Otherwise I guess I continue scanning owncloud.log, but it’s quite annoying if a user hasn’t been active for long time. Means you need to scan more and more tarballed logs.
Any tip what would be the best to grep for or any good way to scan these log files? they seem to be json formatted, I could write my own parser, but maybe someone has already good ideas.
Thanks for you answers and the developers for the awesome product!