Enable and Generate statistics in Dspace

Enable Workflow first ( like here )

change solr data folder to tomcat user

run the stats-util  command

{dspace.dir}/bin/stats-util -o


{dspace.dir}/bin/stats-util -r -b

then run these command

[dspace]/bin/dspace sub-daily

[dspace]/bin/dspace filter-media
[dspace]/bin/dspace checker -lp
[dspace]/bin/dspace dsrun org.dspace.checker.DailyReportEmailer -c
[dspace]/bin/dspace stat-general
[dspace]/bin/dspace stat-monthly
[dspace]/bin/dspace stat-report-general
[dspace]/bin/dspace stat-report-monthly

Now convert and import the old log to statistics

cd /[dspace]/log

ITEM=`ls dspace.log.*`
for i in $ITEM ; do
../bin/dspace stats-log-converter -i $i -o $i.solr
ITEM=`ls *.solr`
for i in $ITEM ; do
../bin/dspace stats-log-importer -i $i


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s