curl - How to delete old Alfresco Audit entries? -


this curl request using clear audit entries:

curl -u admin:admin -x post "http://localhost:8080/alfresco/service/api/audit/clear/{auditexamplelogin1}?fromtime={2014-03-07t17:26:51.325+05:30}&totime={2014-03-10t10:01:33.970+05:30}" 

but deletes audit entries, can see when

curl -u admin:admin "http://localhost:8080/alfresco/service/api/audit/query/auditexamplelogin1?"  

and audit clear curl request not delete database. why , entries delete?

there open issue regarding clearing audit data database. currently, audit clear request "only" clears link between data fragments make audit entry (alf_audit_* tables), can no longer found data still exists in database (alf_prop_* tables). see https://issues.alfresco.com/jira/browse/mnt-10067 open issue.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -