Hi Alan,

the documentation has a section at the bottom on custom reporting (e.g. how
to query the SOLR index directly)
https://wiki.duraspace.org/display/DSDOC18/DSpace+Statistics

Basically, the fields that are logged (per usage event!) are the following,
and can be queried like any other SOLR index. Especially the owningcoll and
owningcomm parameters are interesting if you're looking at aggregating
stats on collection and community level.

<field name="type" type="integer" indexed="true" stored="true" required=
"true" />
<field name="id" type="integer" indexed="true" stored="true" required="true"
/>
<field name="ip" type="string" indexed="true" stored="true" required="false"
/>
<field name="time" type="date" indexed="true" stored="true" required="true"
/>
<field name="epersonid" type="integer" indexed="true" stored="true"
required="false" />
<field name="continent" type="string" indexed="true" stored="true" required=
"false"/>
<field name="country" type="string" indexed="true" stored="true" required=
"false"/>
<field name="countryCode" type="string" indexed="true" stored="true"
required="false"/>
<field name="city" type="string" indexed="true" stored="true" required=
"false"/>
<field name="longitude" type="float" indexed="true" stored="true" required=
"false"/>
<field name="latitude" type="float" indexed="true" stored="true" required=
"false"/>
<field name="owningComm" type="integer" indexed="true" stored="true"
required="false" multiValued="true"/>
<field name="owningColl" type="integer" indexed="true" stored="true"
required="false" multiValued="true"/>
<field name="owningItem" type="integer" indexed="true" stored="true"
required="false" multiValued="true"/>
<field name="dns" type="string" indexed="true" stored="true" required=
"false"/>
<field name="userAgent" type="string" indexed="true" stored="true" required=
"false"/>
<field name="isBot" type="boolean" indexed="true" stored="true" required=
"false"/>
<field name="bundleName" type="string" indexed="true" stored="true"
required="false" multiValued="true" />

best regards,

Bram Luyten

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
  <http://www.atmire.com/>www.atmire.com


On Wed, Jan 18, 2012 at 9:25 AM, Alan Orth <[email protected]> wrote:

> Hey, everyone.
>
> I'm just curious how people are using Solr stats (DSpace 1.6+).  I know
> they're used automatically by various pages in the XMLUI, but what other
> ways can you interact with it?
>
> For example, we like the DSpace reports ("legacy" stats) because they show
> interesting monthly stats about visits, popular items, etc.  Is there a way
> to get the same sort of information from Solr?  I'm sure the data's there
> somewhere...
>
> Thanks,
>
> --
> Alan Orth
> [email protected]
> http://alaninkenya.org
> http://mjanja.co.ke
> "In heaven all the interesting people are missing." -Friedrich Nietzsche
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to