EPrints Technical Mailing List Archive
Message: #01376
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Eprints Log Analysis
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Eprints Log Analysis
- From: Lighton Phiri <lighton.phiri@gmail.com>
- Date: Tue, 11 Dec 2012 20:53:49 +0200
Hello, Thank you for this; will see if I can get what I want from the two database tables. Lighton Phiri http://lightonphiri.org On 11 December 2012 17:45, Tim Brody <tdb2@ecs.soton.ac.uk> wrote: > On Thu, 2012-12-06 at 12:18 +0200, Lighton Phiri wrote: >> I am trying to make sense of an eprints instance apache log file and >> was wondering if there is an easier way of identifying the following >> items by analysing the 'request line' in the log files >> >> 1. item deposits >> 2. item abstract or full metadata edits/access >> 3. oai-pmh/sword interaction from external sources >> >> As an initial step, I've managed to figure out that to solve items 1& >> 2, I would have to filter out entries resulting from authenticated >> sessions (basically checking if field 4 in log entry is NOT hyphen). >> >> A sample entry from a log file from eprints instance I am analysing is below. >> >> ***** Sample Log Entry ***** >> [IP] [IP] - userid [29/Jan/2010:01:13:18 +0200] "GET >> /perl/users/record HTTP/1.1" 200 5531 >> "http://pubs.cs.uct.ac.za/perl/users/home" "Mozilla/5.0 (Windows; U; >> Windows NT 6.1; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET >> CLR 3.5.30729)" > > Hi, > > I don't think you can do this, because all of the requests will go > through the users/home CGI and the log file doesn't store the POST > parameters that would tell you what happened. > > The EPrints database itself may give you answers, if you look in the > "history" table and/or the date fields in the 'archive' table - although > without having a live 2.x version to look at I'm unsure what the schema > is! > > -- > All the best, > Tim > > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: http://www.eprints.org/tech.php/ > *** EPrints community wiki: http://wiki.eprints.org/ >
- References:
- [EP-tech] Re: Eprints Log Analysis
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] Eprints Log Analysis
- From: Lighton Phiri <lighton.phiri@gmail.com>
- [EP-tech] Re: Eprints Log Analysis
- Prev by Date: [EP-tech] upload document with many files
- Next by Date: [EP-tech] Exposing Funder and Project ID information in OAI-DC
- Previous by thread: [EP-tech] Re: Eprints Log Analysis
- Next by thread: [EP-tech] Problem with subject search
- Index(es):