Greetings
Dear community how to individually monitor DHIS2 users activity, specially analysis of dashboards data, who accessed what, the complete activity log with date and time frame?
any suggestions please
Regards
Jan Agha Stanikzai
Greetings
Dear community how to individually monitor DHIS2 users activity, specially analysis of dashboards data, who accessed what, the complete activity log with date and time frame?
any suggestions please
Regards
Jan Agha Stanikzai
Thanks for your question @janagha! There’s the audit trail for data entry that I know of, but I don’t know if there are settings to monitor all activity with date and time. I imagine that will take so much memory? Read, write, view…etc that’s a lot to log, isn’t it? Maybe a write log? What specifically are you looking for?
Anyhow, I’m not the expert so as usual, I will ask for support! (: Thanks!
Thank you so much @Gassim for your quick support, actually we can monitor data entry role users in DHIS2 but can not monitor analysis role individual users activity, means i want to monitor analysis role users individually when they login to dhis2 periodically? how much time they spent to analyze project data and dashboards?
right now we can see last login record with date, i think last login is not enough to monitor analysis role activity that who is using and availing dhis2 services.
Regards
Jan Agha Stanikzai
Hi @janagha .
As far as I know you cannot do this with DHIS2. However you could use external tools like Google Analytics, Matomo, etc… be aware that depending on your country (specially while in Europe) you should probably warn your users according to GDPR. For Google Analytics I think it is possible to set up by going to System Settings > Server > Google Analytics where you will have to put your analytics unique key.
Someone from @tracker-frontend ? maybe can tell you how you could include the required piece of code in case you want to use another tool like Matomo.
Hello @janagha !
@julhas has developed a dashboard widget which logs dashboard visits by user and stores that data in the datastore. There is a separate dashboard widget to present a summary of those logs to an admin-level user or download as CSV. We used this for two separate projects on earlier DHIS2 versions, and it worked well to capture dashboard views. You could possibly fork this directory and customize it for your needs.
I also agree with @jaime.bosque points about external tools like Matomo, and remembering to alert end users that their dashboard activity wiill be logged.