Audit Logs Not Captured for Data Access via Analytics Applications

Hi all,

We have observed an issue regarding audit logging in DHIS2.

When a record is accessed through data entry applications such as the Tracker Capture App, an entry is recorded in the audit table. This entry includes important details such as who accessed the record, when it was accessed, and what information was viewed.

However, when the same data is accessed through analytics applications—such as the Event Reports App—no audit logs are generated.

Is there a reason why audit logging does not occur when data is accessed via analytics apps? or is there a way to enable audits for data access through analytics?

Any guidance or advice would be greatly appreciated.

Thank you!

@Gassim @dhis2-analytics

Hi @sami12111

Currently there is no auditing for the analytics apps as if a user creates a visualization they are creating one for the data that they are already have authority to view without making any changes to the data itself.

May I ask you to please provide more information about why you want to audit visualizations/reports? Sharing more about the use-case will help a lot.

I also would like to point out that the apps you are asking about (Tracker Capture app and the Event Reports app) are both deprecated legacy apps. Please read more about transitioning to the Capture app: Transitioning from Tracker Capture to Capture App in v42: The users’ perspective, and the Event Reports app is replaced by the Line Listing app.

Thank you!

Hi @Gassim ,

The use case is that, for example, if there are many data elements in the event or tracker form, we want to see when and which user is accessing which data elements. Additionally, we want to see which users are accessing specific reports at what time.

Thank you!