http://web-address-to-my-dspace/statistics
(URL of DSpace statistics page)report.public
), and where the final statistical reports should be stored (report.dir
). It's very possible you may not want to change either of these. However, if you change either option, don't forget to restart Tomcat (See Quick Restart in Rebuild DSpace )
dspace.log
*- the full path of your dspace/log directory
general.summary
- actions listed in the DSpace log file which you want to list in the "Overview" section. You don't need to change these unless needed.exclude.word
- stopwords to filter out of search terms in statisticsexclude.type
- Lucene search index terms to filter out of statistics (corresponds to the search indicies, see (Modify search fields)exclude.character
- Lucene special characters to filter out of statisticsitem.type
- Item types to find statistics for. Corresponds to the form values (see Change a form value ) defined for your dc.type
field, or any metadata field with an element named type
.item.floor
and search.floor
- specify the number of minimum accesses necessary before an item or search term is listed in statisticsitem.lookup
- specifies the maximum number of items to list Author/Title information for in statistics (all other viewed items are listed by URL)user.email
- specifies whether to display user email information in login statistics. For privacy, this defaults to false
(i.e. do not display email)host.name
and host.url
* - The name and URL of your DSpace install, which will be displayed at the top of the statistics page./dspace/
by default). In particular keep an eye out for these variables:
$dsrun
- the full path of the dspace/bin/dsrun script$in_directory
- the full path of the input directory (for stat-report-* scripts)
$out_directory
- the full path of the statistical reports output directory. This must correspond to the directory listed in the report.dir
option in your dspace.cfg (see above)!$in_directory
and $out_directory
be the same location (e.g. dspace/reports/).$start_year
and $start_month
variables in stat-initial
and stat-report-initial
. These should correspond to the year and month which you wish to start tracking statistics from.stat-general
, stat-initial
, stat-monthly
, stat-report-general
, stat-report-initial
, stat-report-monthly
$start_month
and $start_year
). This script only needs to be run once, though you can rerun it if you needed to (in which case it would overwrite its past results). Its output is a set of historic data files which can be used by stat-report-initial to generate historic HTML reports.dspace/bin/stat-initial
(Note: For Windows, you may need to run perl dspace/bin/stat-initial
)dspace/bin/stat-report-initial
(Note: For Windows, perl dspace/bin/stat-report-initial
)cron
entry similar to the following to the crontab for the user who installed DSpace:
30 0 * * * [dspace]/bin/stat-monthly |
35 0 * * * [dspace]/bin/stat-general |
30 1 * * * [dspace]/bin/stat-report-monthly |
35 1 * * * [dspace]/bin/stat-report-general |
http://web-address-to-my-dspace/statistics