Statistics showing 'No data available'

69 views
Skip to first unread message

sumit kaushik

unread,
Apr 27, 2023, 12:10:53 PM4/27/23
to DSpace Community
Hi I am not able to see any data when i click on 'Statistic' tab. its showing 'No data available' .My usage-statistics.cfg contains below  values 
#View/download statistics
usage-statistics.authorization.admin.usage=false
#Search/search result statistics
usage-statistics.authorization.admin.search=true
#Workflow result statistics
usage-statistics.authorization.admin.workflow=true


Tim Donohue

unread,
May 1, 2023, 10:32:12 AM5/1/23
to DSpace Community
If your statistics are empty, then either one of two things may be happening:

1. It's possible your statistics actually are empty... DSpace will not count hits/accesses from 127.0.0.1 (or localhost).  So, it's not possible to generate statistics if you are only accessing the site via localhost or a private IP.
2. Or, it's possible that something is wrong with your Solr setup (or specifically the "statistics" core installed in Solr during the Installation process).

If the problem is #2, then you should see errors in either the User Interface or in the backend logs.  To locate those errors, see our troubleshooting guide: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

If you need more help, let us know on this list.

Tim

sumit kaushik

unread,
May 3, 2023, 6:41:39 AM5/3/23
to DSpace Community
I am checking from remote system not local system.
In the network tab of browser i can see the api/statistics/viewevents API getting executed successfully. I am not seeing any errors logs either.
  1. Request URL:
  2. Request Method:
    POST
  3. Status Code:
    201 Payload - {"targetId":"406bf574-2cef-4d42-b68d-c444a00cf7e9","targetType":"site"}.
Reply all
Reply to author
Forward
0 new messages