Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Reports usage stats, log report visitors

  1. #1
    Join Date
    Mar 2012
    Posts
    6

    Default Reports usage stats, log report visitors

    Hi
    We would like to log information about report visitors. Then, based on them, we would like to present reports statistics. We want to turn off some "unpopular" reports. We are also interested in reports’ generation time.
    How to configure log4j (Pentaho BI Server 3.10.0-stable) to log following information:

    1) On report execution begin (when request is submitted)
    • SessionId,
    • RequestId, (unique key per session)
    • User,
    • Report
    • DateTime
    • Report parameters (optionally)


    2) On report execution is complete (optionally)
    • SessionId,
    • RequestId,
    • User,
    • Report
    • DateTime
    • Result (Success or error – optionally)

    Then I would like to join this information on condition 1)SessionId = 2)Session && 1)RequestId = 2)RequestId
    Thanks for help.
    Tomek.

  2. #2
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    you can't just configure log4j to log stuff like that. Take a look at the audit log, it will have some of this stuff.

    the only thing you can do in log4j is turn logging on and off for different sections of the software that have already been configured to log in a certain way.

  3. #3
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    Try this thread for ideas...

  4. #4
    Join Date
    Mar 2012
    Posts
    6

    Default

    Thanks for suggestions. I know that I can use log4j to turn logging on and off for different sections of the software. So I was thinking about some sections of softwer which log this kind of information, and then I wanted to parse this log. But I see that audit log is probably what I was looking for. Thanks again.

    Tomek.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.