Check how many time reports are generated

Hello DHIS2 community,

We have a set of custom reports we built for a customer, and I’m interested to follow which one are used (and how often).

Is there any way to retrieve how many times a given report has been generated? I’m talking about HTML reports in this case some something like:

http://DHIS2_urL/dhis-web-reporting/generateHtmlReport.action?uid=ThScKdiP4Cp&pe=201708&ou=eov2pDYbAK0

Does DHIS2 stores something about it anywhere?

Thanks,

Martin

···

**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com

Hi Martin,

we do have a web API endpoint that supports usage statistics for most analytical entities (pivot table, chart, map…) except for standard reports.

https://docs.dhis2.org/master/en/developer/html/webapi_usage_analytics.html

If you want to create a patch and extend this to include standard reports (html reports) you can look at the following classes:

DataStatistics.java

DataStatisticsEventType.java

DataStatisticsController.java

GetReportAndParamsAction.java

regards,

Lars

···

On Wed, Oct 4, 2017 at 9:16 AM, Martin Van Aken martin@joyouscoding.com wrote:

Hello DHIS2 community,

We have a set of custom reports we built for a customer, and I’m interested to follow which one are used (and how often).

Is there any way to retrieve how many times a given report has been generated? I’m talking about HTML reports in this case some something like:

http://DHIS2_urL/dhis-web-reporting/generateHtmlReport.action?uid=ThScKdiP4Cp&pe=201708&ou=eov2pDYbAK0

Does DHIS2 stores something about it anywhere?

Thanks,

Martin


**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks! No luck for me right now but interesting nonetheless. I’ll have a look at the provided examples.

Martin

···

On Wed, Oct 4, 2017 at 11:04 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Martin,

we do have a web API endpoint that supports usage statistics for most analytical entities (pivot table, chart, map…) except for standard reports.

https://docs.dhis2.org/master/en/developer/html/webapi_usage_analytics.html

If you want to create a patch and extend this to include standard reports (html reports) you can look at the following classes:

DataStatistics.java

DataStatisticsEventType.java

DataStatisticsController.java

GetReportAndParamsAction.java

regards,

Lars

On Wed, Oct 4, 2017 at 9:16 AM, Martin Van Aken martin@joyouscoding.com wrote:

Hello DHIS2 community,

We have a set of custom reports we built for a customer, and I’m interested to follow which one are used (and how often).

Is there any way to retrieve how many times a given report has been generated? I’m talking about HTML reports in this case some something like:

http://DHIS2_urL/dhis-web-reporting/generateHtmlReport.action?uid=ThScKdiP4Cp&pe=201708&ou=eov2pDYbAK0

Does DHIS2 stores something about it anywhere?

Thanks,

Martin


**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com

Hi Martin,
You can also use Google Analytics for this task probably or any number of tools to parse the DHIS2/Nginx logs.

Regards,

Jason

···

On Wed, Oct 4, 2017 at 4:19 PM, Martin Van Aken martin@joyouscoding.com wrote:

Thanks! No luck for me right now but interesting nonetheless. I’ll have a look at the provided examples.

Martin


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Wed, Oct 4, 2017 at 11:04 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Martin,

we do have a web API endpoint that supports usage statistics for most analytical entities (pivot table, chart, map…) except for standard reports.

https://docs.dhis2.org/master/en/developer/html/webapi_usage_analytics.html

If you want to create a patch and extend this to include standard reports (html reports) you can look at the following classes:

DataStatistics.java

DataStatisticsEventType.java

DataStatisticsController.java

GetReportAndParamsAction.java

regards,

Lars


**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com

On Wed, Oct 4, 2017 at 9:16 AM, Martin Van Aken martin@joyouscoding.com wrote:

Hello DHIS2 community,

We have a set of custom reports we built for a customer, and I’m interested to follow which one are used (and how often).

Is there any way to retrieve how many times a given report has been generated? I’m talking about HTML reports in this case some something like:

http://DHIS2_urL/dhis-web-reporting/generateHtmlReport.action?uid=ThScKdiP4Cp&pe=201708&ou=eov2pDYbAK0

Does DHIS2 stores something about it anywhere?

Thanks,

Martin


**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Yep, that’s the road we are raking right now, but interesting to know there is something inside DHIS2 for the job.

Thanks!

Martin

···

On Wed, Oct 4, 2017 at 12:13 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Martin,
You can also use Google Analytics for this task probably or any number of tools to parse the DHIS2/Nginx logs.

Regards,

Jason

On Wed, Oct 4, 2017 at 4:19 PM, Martin Van Aken martin@joyouscoding.com wrote:

Thanks! No luck for me right now but interesting nonetheless. I’ll have a look at the provided examples.

Martin


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Wed, Oct 4, 2017 at 11:04 AM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Martin,

we do have a web API endpoint that supports usage statistics for most analytical entities (pivot table, chart, map…) except for standard reports.

https://docs.dhis2.org/master/en/developer/html/webapi_usage_analytics.html

If you want to create a patch and extend this to include standard reports (html reports) you can look at the following classes:

DataStatistics.java

DataStatisticsEventType.java

DataStatisticsController.java

GetReportAndParamsAction.java

regards,

Lars


**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com

On Wed, Oct 4, 2017 at 9:16 AM, Martin Van Aken martin@joyouscoding.com wrote:

Hello DHIS2 community,

We have a set of custom reports we built for a customer, and I’m interested to follow which one are used (and how often).

Is there any way to retrieve how many times a given report has been generated? I’m talking about HTML reports in this case some something like:

http://DHIS2_urL/dhis-web-reporting/generateHtmlReport.action?uid=ThScKdiP4Cp&pe=201708&ou=eov2pDYbAK0

Does DHIS2 stores something about it anywhere?

Thanks,

Martin


**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

**Martin Van Aken - **Freelance Enthusiast Developer

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com