Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
schema
sitestats-api
sitestats-bundle
sitestats-impl-hib
sitestats-impl
sitestats-tool
README.md
pom.xml
server_wide_stats.md

README.md

Site Stats

  • About
  • Tool security (permissions)
  • External DB feature
  • History

About

Site Stats is a tool for Sakai for showing site usage statistics.

Tool information is organized in 2 screens:

  • Overview: contains summary information about site visits and activity;
  • Reports: generated exportable reports about site visits, tool and resource activity.

Tool support can be added/removed sakai-wide (by using configuration files) or on site basis (by using the tool Preferences screen). See SiteStats Confluence page for configuration instructions.

Tool security (permissions)

For SiteStats 0.5.5 or higher, the 'sitestats.view' permission IS REQUIRED in order to use the tool. Please use the permissions admin tool to back fill permissions existing realms or add the permission to the '!site.helper' realm. Access to the sitestats administrator view can be granted to non-administrator users by adding the permission 'sitestats.view.admin'. The tool won't be listed on left menu if the user doesn't have the required permission.

External Database feature

In order to configure sitestats to use a different database for its tables set the following sakai property:

sitestats.db=internal <--- default, don't use an external db
sitestats.db=external

Next you will need to configure the following properties for indicating the external database (the defaults are listed):

sitestats.externalDb.jdbcUrl=jdbc:hsqldb:mem:sitestats_db
sitestats.externalDb.driverClassName=org.hsqldb.jdbcDriver
sitestats.externalDb.username=sa
sitestats.externalDb.password=secret
sitestats.externalDb.connectionTestQuery=SELECT 1
sitestats.externalDb.poolName=externalDBCP
sitestats.externalDb.hibernate.dialect=org.hibernate.dialect.HSQLDialect
sitestats.externalDb.auto.ddl=update
sitestats.externalDb.hibernate.show_sql=false

Server Wide Stats

See the following doc

History

SiteStats was origionaly written by Nuno Fernandes at Universidade Fernando Pessoa.