Script to convert Apache accesslog data into solr stats records
---------------------------------------------------------------

                 Key: DS-522
                 URL: http://jira.dspace.org/jira/browse/DS-522
             Project: DSpace 1.x
          Issue Type: New Feature
          Components: Solr
    Affects Versions: 1.6.1
            Reporter: Peter Dietz
            Assignee: Peter Dietz
            Priority: Minor
         Attachments: DS-ApacheLogConverter-1.patch

Patch added that allows Apache's access log data to be used to possible 
supplant dspace.log data.

Before running clean up your access log with an awk command.
awk '{print $4,$5,",",$7,",","DB",",","anonymous",",",$1}' /path/to/access_log 
> /path/out/access_log_intermediate

Then this command can be invoked with dspace.
[dspace/bin/] ./dspace stats-apachelog-converter -i 
/path/out/access_log_intermediate -o /path/solr/solrready


Currently, it skips "/dspace/retrieve/40199/1990-RA-01.jpg.jpg" entries.

Check it out, and helpful find some bugs in it for me to fix. The rationale for 
wanting to add this is because our dspace.log files got rolled over into 
dspace.log.0 -- dspace.log.500, thus we have some missing data that this 
converter could fill the void for.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to