cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing audit api error

john2994
Champ on-the-rise
Champ on-the-rise

I am getting this error when i am trying to access audit logs

{"error": {"errorKey": "Unable to find resource resource for: audit-applications", "statusCode": 404, "riefSummary": "02190026 Unable to find resource resource for: audit-applications", "stackTrace": " For security reasons, the package trace is no longer displayed, but the property is retained for previous versions. "," DescriptionURL ":" https://api-explorer.alfresco.com "}}

here are part of my global properties:

audit.enabled=true
audit.alfresco-access.enabled=true
audit.alfresco-access.sub-actions.enabled=false
audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.default.user=~System;~null;.*
audit.filter.alfresco-access.transaction.user=~System;~null;.*
audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;st:site;~cm:person

 The API that i am trying to access is:

http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications

What is the problem? And is there other way to get the logs from audit?

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

Which Alfresco versions exactly are you using? That API is only available starting with Alfresco Enterprise 5.2.2, so if you are using Alfresco Community 5.2, it will not be available on your system.

View answer in original post

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

Which Alfresco versions exactly are you using? That API is only available starting with Alfresco Enterprise 5.2.2, so if you are using Alfresco Community 5.2, it will not be available on your system.