cancel
Showing results for 
Search instead for 
Did you mean: 

Possible BUG auditing content in Share 4.2.d

agg
Champ in-the-making
Champ in-the-making
Hi everybody!,

I have found a 'problem' when I'm tried to audit how many users had read a document in my Share installation (version community 4.2.d).

When a user is in the document library and 'click' to one document, the system opens the document details view (with the document preview on the left and the document properties on the right)… pitifully it seems that the audit subsystem doesn't catch that action as a READ action, and nothing is stored in the audit information.

It seems that the audit subsystem only 'catch' the READ action when a user download the document or uses the action 'see in browser'…

But most of the users of my customer installation will read the document in the details view and I don't know how to 'capture' that action to account the 'true' times when a document has been readed.

Here goes my configuration details:


- alfresco-global.properties
——————————————
# Enable audit in general
audit.enabled=true

# Enable the alfresco-access audit application
audit.alfresco-access.enabled=true

# Enable the auditing of sub-actions. Normally disabled as these values are
# not normally needed by audit configurations, but may be useful to
# developers
audit.alfresco-access.sub-actions.enabled=true

audit.filter.alfresco-access.default.enabled=true

audit.filter.alfresco-access.transaction.user=~System;~null;.*
audit.filter.alfresco-access.transaction.type=cm:content;abk:docacme
audit.filter.alfresco-access.transaction.path=~/sys:archivedItem;~/ver:;.*
——————————————–


As you can see, I'm trying to do that with cm:content and my custom content abk:docacme, (using the audit.filter.alfresco-access.transaction.type), but I've the same problem with the documents based on cm:content and the documents based on abk:docamce custom type.

To see the audit details I'm using the Audit-Dashlet (Share Audit Dashlet project in share extensions), mentioned in https://wiki.alfresco.com/wiki/Content_Auditing#Enabling_Auditing_Of_Content and I must say that I went to Alfresco explorer to see the audit data of the document using the show_audit.ftl and also had no results.

I don't know if it is a BUG or I'm doing something wrong with my configuration!

I need your help! please!
1 REPLY 1

parzgnat
Star Contributor
Star Contributor
I believe that the default audit application "audit-access" that you enabled in Alfresco only enables auditing for a subset of user actions, namely login, logout, copy, move, update properties, add/remove aspect.  You would need to edit the default audit application or create your own in order to audit a read of cm:content.  The "audit-access" configuration can be found in $ALFRESCO_HOME/tomcat/alfresco/WEB-INF/classes/alfresco/audit.

More detailed information on configuring auditing in Alfresco can be found here: http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Faudit-config.h...