COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cognos05 on 09 Sep 2014 07:19:07 AM

Title: how to check when users have logged in stat
Post by: cognos05 on 09 Sep 2014 07:19:07 AM
Hi All,

We have many users using products like report studio , analysis studio. We are not sure if they really use analysis studio for their analyses or just view the standard reports.
Can anyone let me know how can I track of this. Which logs should I enable.

Thanks,
Nithya
Title: Re: how to check when users have logged in stat
Post by: cognos05 on 09 Sep 2014 09:12:03 AM
Hi ,

Went through some previous post and got an idea of steps to be followed.

1) Create a separate database to store audit contents( in my case it will be a sql database)
2) In the IBM Cognos Configuration go to environment ,lgging and create a connection to this database with the credentials.
3) Test the connection,
4) Go to cognos administration and select the dispatcher and set the related properties with respect to logging level,

Is that all

Thanks,
Nithya
Title: Re: how to check when users have logged in stat
Post by: cognos05 on 09 Sep 2014 03:05:54 PM
The audit data is now being stored in my sql server tables. I am not sure which table will give me the information about which users have logged in to Analysis studio.
I want to report on this information.
USERLOGON gives who ever have logged in.but to differentiate from analysis or report studio is there any specific field.

Also how easy is to move these tables to Framework manager and create package and report from there.

Thanks,
Nithya
Title: Re: how to check when users have logged in stat
Post by: bdbits on 09 Sep 2014 03:57:00 PM
If you are using the audit tables, you may want to look at the "audit extension" package from IBM Cognos - it is free. You could at least use the FM model as a starting point for your own package.

http://www.ibm.com/developerworks/data/library/cognos/development/utilities/page574.html (http://www.ibm.com/developerworks/data/library/cognos/development/utilities/page574.html)

I am not sure studio usage is in there, but it might be. If not, you would probably have to build something off of the Cognos server log files. I am afraid this will likely be a lot more difficult to parse out.
Title: Re: how to check when users have logged in stat
Post by: cognos05 on 10 Sep 2014 01:45:06 PM
Hi bdbits,

I will check on that and thanks for the information.

How do we manage the audit data tables, because it adds an entry for user actions. how do we have control over it.

Thanks,
Nithya
Title: Re: how to check when users have logged in stat
Post by: bdbits on 11 Sep 2014 10:50:11 AM
nithya1224, in retrospect maybe you just need the sample audit package bundled with Cognos.
http://pic.dhe.ibm.com/infocenter/cfpm/v10r1m0/index.jsp?topic=%2Fcom.ibm.swg.im.cognos.ug_cra.10.1.0.doc%2Fug_cra_id4425SampleAuditReports.html (http://pic.dhe.ibm.com/infocenter/cfpm/v10r1m0/index.jsp?topic=%2Fcom.ibm.swg.im.cognos.ug_cra.10.1.0.doc%2Fug_cra_id4425SampleAuditReports.html)

This or the previously linked audit extension (or maybe a combination) should get you want you want.

General control over audit logging is set in Cognos administration.
http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.1/com.ibm.swg.ba.cognos.ug_cra.10.2.1.1.doc/t_asg_setthelogginglevel.html%23asg_SettheLoggingLevel?lang=en (http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.1/com.ibm.swg.ba.cognos.ug_cra.10.2.1.1.doc/t_asg_setthelogginglevel.html%23asg_SettheLoggingLevel?lang=en)