anandharaj Posted November 2, 2007 Share Posted November 2, 2007 Hi, Is there a way to get audit report on JS? Meaning, who generated which report and what time. This would be nice to monitor the JS performance and to do some action based on this report. If JS will introduce this as build-in function, it will be a very cool for administrator. Sample report would be something like: Username | Report Name | Date Generated | Duration | Status---------------------------------------------------------------Anan | My Report | 2007-11-01 8.00| 5 Mins | Successful Link to comment Share on other sites More sharing options...
lucianc Posted November 5, 2007 Share Posted November 5, 2007 Auditing is not yet built into JasperServer. Once that is done, administrators would of course be able to generate audit reports. Regards,Lucian Link to comment Share on other sites More sharing options...
carminez Posted November 1, 2008 Share Posted November 1, 2008 What is the status of this? Is Auditing available in 3.0? Professional/Community? Link to comment Share on other sites More sharing options...
anandharaj Posted November 3, 2008 Author Share Posted November 3, 2008 In community version its not available...not sure about pro version... Link to comment Share on other sites More sharing options...
swood Posted November 4, 2008 Share Posted November 4, 2008 We haven't done audit reports yet for Community Edition or Professional.Capturing the data is relatively easy - just add an aspect around the EngineService. Reporting and analyzing the data would be easy ;-) ShermanJaspersoft Link to comment Share on other sites More sharing options...
anandharaj Posted November 7, 2008 Author Share Posted November 7, 2008 Thanks swood, hope this will be available in next JS version. Link to comment Share on other sites More sharing options...
samvijay Posted April 13, 2009 Share Posted April 13, 2009 Lucianc/swood I did not find the auditing feature even in JS 3.5, is there any plan to implement the same in near future --Samvijay Link to comment Share on other sites More sharing options...
swood Posted May 4, 2009 Share Posted May 4, 2009 It did not make it for the last release. We are aiming for it to be in the next release. ShermanJaspersoft Link to comment Share on other sites More sharing options...
anandharaj Posted May 8, 2009 Author Share Posted May 8, 2009 Thats good news Swood. :-) Link to comment Share on other sites More sharing options...
silvannos Posted April 13, 2010 Share Posted April 13, 2010 I'm guessing that this has not been implemented in 3.7 either. Just wanted to make sure you guys don't forget about this as it would be very useful. :DOn a related note, using the JasperServer database I was able to generate a report that does this except for one issue. The JIACCESSEVENT has information on when something happens to a report which is great except for the fact that there is no data concerning the type of event that took place. For example, just running a report from the JasperServer web interface logs 4 different events, which makes the times report were executed hard to count.EDIT: Sorry about this, I finally found out that it is only available on the enterprise edition.Thanks,SimonPost Edited by silvannos at 04/13/2010 10:51 AM Link to comment Share on other sites More sharing options...
dhoppmann Posted May 19, 2010 Share Posted May 19, 2010 Hey silvannos,What did you do? I was using this query, but when I log in as this user/tenant, I do not see new entries. How much logging is actually put into the JIAccessEvent table?SELECT * FROM JIUser JOIN JITenant ON JITenant.id=JIUser.tenantId JOIN JIAccessEvent ON JIAccessEvent.user_id=JIUser.idJOIN JIResource ON JIResource.id=JIAccessEvent.resource_idJOIN JIReportUnit ON JIReportUnit.id=JIResource.idWHERE username='$' AND tenantName='$' ORDER BY update_date DESC;Thanks! Link to comment Share on other sites More sharing options...
mnoland2 Posted December 1, 2010 Share Posted December 1, 2010 I was able to make this work a little better by excluding things like datasources, and Input_controls (see the where clause) you may need to chane the "date_trunc" and where statement depending on youre setup Note this only shows if the user accessed a report. Code: Post Edited by mnoland2 at 12/01/2010 22:35 Link to comment Share on other sites More sharing options...
nithyanand11 Posted December 2, 2010 Share Posted December 2, 2010 Could you please help .. In a report with subreport..if i set strech type = "related to tallest object".. the main report gets break in new page when the subreport in long.. how to handle this scnerio..... ..Thanks in advance Link to comment Share on other sites More sharing options...
phamk Posted March 8, 2011 Share Posted March 8, 2011 Hello,I am using this query to audit the access to the reports (Main_jrxml). Hope this can help.select distinct JIReportUnit.mainReport, date_format(JIAccessEvent.event_date,"%y-%m-%d") dformat, JIAccessEvent.user_id, JIAccessEvent.resource_id,JIResource.name,username,tenantAliasfrom JIAccessEvent join JIReportUnit on JIReportUnit.id = JIAccessEvent.resource_idjoin JIResource on JIResource.id=JIReportUnit.mainReportjoin JIUser on JIUser.id = JIAccessEvent.user_idjoin JITenant on JITenant.id=JIUser.tenantIdwhere JIResource.label = "Main jrxml"order by dformat desc Link to comment Share on other sites More sharing options...
shmee Posted March 8, 2011 Share Posted March 8, 2011 Thanks for the tips guys! I was just thinking about how I wanted to audit the JasperServer, so I checked the forum, and this thread got me started. Though it would be much cooler to have built in user and report auditing. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now