Files
DSpace/dspace/config/modules/usage-statistics.cfg
2018-03-29 12:46:20 -04:00

41 lines
2.0 KiB
INI

#---------------------------------------------------------------#
#--------------USAGE STATISTICS CONFIGURATIONS------------------#
#---------------------------------------------------------------#
# These configs are only used by the DSpace interfaces which #
# track usage statistics (Solr or Elastic Search) #
# See also: solr-statistics.cfg #
# elastic-search-statistics.cfg #
#---------------------------------------------------------------#
# The location for the Geo Database retrieved on update/installation
usage-statistics.dbfile = ${dspace.dir}/config/GeoLite2-City.mmdb
# Timeout for the resolver in the DNS lookup
# Time in milliseconds, defaults to 200 for backward compatibility
# Your system's default is usually set in /etc/resolv.conf and varies
# between 2 to 5 seconds, too high a value might result in Solr exhausting
# your connection pool
usage-statistics.resolver.timeout = 200
# Control if the statistics pages should be only shown to authorized users
# If enabled, only the administrators for the DSpaceObject will be able to
# view the statistics.
# If disabled, anyone with READ permissions on the DSpaceObject will be able
# to view the statistics.
#View/download statistics
usage-statistics.authorization.admin.usage=true
#Search/search result statistics
usage-statistics.authorization.admin.search=true
#Workflow result statistics
usage-statistics.authorization.admin.workflow=true
# Enable/disable logging of spiders in solr statistics.
# If false, and IP matches an address in spiderips.urls, event is not logged.
# If true, event will be logged with the 'isBot' field set to true
# (see query.filter.* for query filter options)
# Default value is true.
#usage-statistics.logBots = true
# Enable/disable if a matching for a bot should be case sensitive
# Setting this value to true will increase cpu usage, but bots will be found more accurately
#usage-statistics.bots.case-insensitive = false