Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleElasticsearch Usage Statistics are deprecated in 6.0

As of the DSpace 6.0 release, Elasticsearch Usage Statistics are deprecated, and no new features/improvements will be added.  We recommend instead using the default SOLR Statistics engine.

If you are already using Elasticsearch Usage Statistics, you may continue to use them until they are fully removed in a future release.  See DS-2897 for more information.

 

Added in DSpace 3.0 is an optional statistics engine using Elasticsearch, which may be enabled as an alternative to the default SOLR Statistics engine (based on Apache SOLR). The motivation for adding Elasticsearch was to find an alternative statistics processing engine that would handle the workload of a large amount of statistics data. Additionally, the Elasticsearch statistics display offers another method for creating statistical queries against your data. Elasticsearch Usage Statistics has been contributed by Peter Dietz of Ohio State University's Knowledge Bank. The data source for Elasticsearch Statistics is DSpace Usage Events, where Usage Event is a view or download of a DSpace Object (Bitstream, Item Page, Collection Page, Community Page). Elasticsearch Statistics is bundled with DSpace, and requires no additional installation of software, it just needs to be enabled. Elasticsearch is only available for use with XMLUI. 

...

Modify dspace/config/xmlui.xconf, and uncomment the aspect, Statistics Elasticsearch. 

Code Block
firstline
languagebash
firstline96
titleEnable Elastic Search Statistics in dspace/config/xmlui.xconf
96linenumberstrue
        <!--
             If you prefer to use "Elasticsearch" Statistics, you can uncomment the below
             aspect and COMMENT OUT the default "Statistics" aspect above.
             You must also enable the ElasticSearchLoggerEventListener.
        -->
        <!-- <aspect name="Statistics - Elasticsearch" path="resource://aspects/StatisticsElasticSearch/" /> -->

...

Modify dspace-xmlui/src/main/webapp/WEB-INF/spring/applicationContext.xml and uncomment the following code block for ElasticSearchLoggerEventListener

Code Block
languagebash
firstline54
titleEnable ElasticSearchLoggerEventListenerfirstline54
linenumberstrue
<!-- Elasticsearch -->
<!--<bean class="org.dspace.statistics.ElasticSearchLoggerEventListener">
        <property name="eventService">
            <ref bean="dspace.eventService" />
        </property>
    </bean>-->

...