Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date range for Audit Dashlet #97

Open
GoogleCodeExporter opened this issue Apr 19, 2016 · 2 comments
Open

Date range for Audit Dashlet #97

GoogleCodeExporter opened this issue Apr 19, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

For Audit dashlet, can you share how to to limit the audit record within date 
range.

For example for login action, by default it will show all the records, but we 
need to see audit records ONLY from date 1 oct 2012 until 12 oct 2012.

I know there is "additional query parameter", but we don't find a reference how 
to use this.

Original issue reported on code.google.com by [email protected] on 16 Oct 2012 at 12:38

@GoogleCodeExporter
Copy link
Author

Original comment by will.abson on 16 Oct 2012 at 1:49

@GoogleCodeExporter
Copy link
Author

This should be possible out of the box without any code modification. 
The additional query parameter you mention should enable to achieve what you 
want. 

It takes the 'raw' server-side audit query string. 
You could e.g. use the 'fromTime'  parameter to retrieve records from that 
specific date, provided you convert it to epoch milliseconds before. You could 
also filter from a specific event ID. 

See : 
- http://wiki.alfresco.com/wiki/Auditing_(from_V3.4)#Advanced_Query
- 
http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/references/RESTfu
l-AuditQueryGet.html
- the server side audit webscript .desc.xml files for the possible parameters. 

I advise use to test out your query with curl, as described on the wiki page 
above,  before pasting it in the dashlet config. 

Original comment by [email protected] on 27 Oct 2012 at 10:31

  • Changed state: NeedInfo
  • Added labels: Type-Task
  • Removed labels: Type-Enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant