Accessing audit api error

cancel
Showing results for 
Search instead for 
Did you mean: 
john2994
Active Member

Accessing audit api error

Jump to solution

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 Solution

Accepted Solutions
afaust
Master

Re: Accessing audit api error

Jump to solution

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 solution in original post

1 Reply
afaust
Master

Re: Accessing audit api error

Jump to solution

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.