It looks like SOLR is working fine, but you have a file permissions issue
with [dspace]/log.

So to fix this, you'll need to ensure that the tomcat user has write access
to [dspace]/log. On linux, this usually involves making sure the tomcat user
is the same user who owns all the files in your [dspace] directory, or by
setting permissions so that the tomcat user's group has write permission to
those files. You'll know you have this working when you restart tomcat, and
the file [dspace]/log/dspace.log or [dspace]/log/dspace.log.2010-06-28 is
being written to.

DSpace -> Administrator -> Statistics generates its data from "legacy
statistics", which involves a cron task that reads all of your dspace.log*
files and creates these reports.


SOLR is different, and keeps record of hits to items, bitstream,
collections, and communities, and you can see those by going to an item
page, and clicking "View Statistics". It is able to keep incrementing the
hits, although you have any dspace.log files because hits are added directly
to SOLR.


The admin section for solr is more technical, and not geared towards dspace
things, but is located at: http://localhost:8080/solr/statistics/admin/
You can only access that via localhost, so you have be at the machine
running dspace to see that.



Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



On Mon, Jun 28, 2010 at 12:10 PM, DSpace <[email protected]> wrote:

>  Hello,
>
>
>
> We have been trying to configure Statistics on DSpace 1.6. For some reason
> the statistics are populating for the individual items, but when I go to
> Administer > Statistics, all of the fields are either blank or 0.
>
>
>
> These are some of our Solr settings, in dspace.cfg
>
> solr.log.server = http://127.0.0.1:8080/solr/statistics
>
> solr.dbfile = /usr/local/dspace/config/GeoLiteCity.dat
>
> useProxies = true
>
> statistics.item.authorization.admin=false
>
> statistics.items.dc.1=dc.identifier
>
> statistics.items.dc.2=dc.date.accesioned
>
> statistics.items.type.1=dcinput
>
> statistics.items.type.2=date
>
> statistics.default.start.datepick = 01/01/2010
>
>
>
> I looked in [dspace]/log, and found that dspace.log is missing, or is that
> by design?
>
>
>
> We are unsure of what else to configure to have this work properly. Let me
> know if more information is needed.
>
>
>
> Thanks
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to