Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1450

stats-log-converter -m not working (Elastic Search Statistics)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Statistics
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      When following the directions at https://wiki.duraspace.org/display/DSDOC3x/Elastic+Search+Usage+Statistics it says to try and use An example form of this command would be [dspace]/bin/dspace stats-log-converter -i dspace.log -o statistics.log -m -n however, I have tried this on two different systems and get the same error on either:

      dspace@dspace-test log]$ dspace stats-log-converter -i dspace.log -m -o stats.log -n
      INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=38f8feea-122a-4f9a-869a-13d35ef4b7dd,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
      INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/srv/dspace/config/dspace.cfg
      INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
      INFO [main] (ConfigurationManager.java:1224) - Loading: /srv/dspace/config/log4j.properties
      Exception: null
      java.lang.NullPointerException
      at org.dspace.statistics.util.ClassicDSpaceLogConverter.main(ClassicDSpaceLogConverter.java:357)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

      logs are named: dspace.log.YYYY-MM-DD

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              misilot Thomas Misilo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support