[MarkLogic Dev General] AccessLog

Fahad Khan fahad.aj.khan at gmail.com
Wed Mar 18 05:24:00 PDT 2015


Maisnam Ns,

To get the 'the time taken in milliseconds to complete the GET request' we
are having to run an nginx proxy on the ML hosts. Running a proxy in front
of ML seems to be the only way to get this information at the moment.

Fahad.

On Wed, Mar 18, 2015 at 11:39 AM, Ron Hitchens <ron at ronsoft.com> wrote:

>
>    The MarkLogic Access Log entries use the Apache http format,
> specifically the combined format, which is documented here:
>
> http://httpd.apache.org/docs/2.2/logs.html#accesslog
>
>    This StackOverflow item provides a more succinct explanation:
>
> http://stackoverflow.com/questions/9234699/understanding-apache-access-log
>
> ---
> Ron Hitchens {ron at overstory.co.uk}  +44 7879 358212
>
> > On Mar 18, 2015, at 11:01 AM, Jakob Fix <jakob.fix at gmail.com> wrote:
> >
> > Hi,
> >
> > this seems to be the standard format for web log files; this is the
> > size of the response body.
> > cheers,
> > Jakob.
> >
> >
> > On Wed, Mar 18, 2015 at 9:49 AM, Maisnam Ns <maisnam.ns at gmail.com>
> wrote:
> >> Hi,
> >>
> >> I have enabled logs on Marklogic Server, and below have pasted two lines
> >> from the x_AccessLog.txt .
> >>
> >> Can someone let me know what the last numerical values stand for
> >> (5300 and 16162 at the end of each line).
> >> Is it the time taken in milliseconds to complete the GET request?
> >>
> >> 127.0.0.1 - admin [13/Mar/2015:08:33:23 India Standard Time] "GET
> >>
> /v1/documents?category=content&uri=%2FcontentD%3A%2FTKM%2FTopsSongs%2FWham%2BWake-Me-Up-Before-You-Go-Go.xml
> >> HTTP/1.1" 200 5300 - -
> >> 127.0.0.1 - admin [13/Mar/2015:08:33:23 India Standard Time] "GET
> >>
> /v1/documents?category=content&uri=%2FcontentD%3A%2FTKM%2FTopsSongs%2FDuran-Duran%2BThe-Reflex.xml
> >> HTTP/1.1" 200 16162 - -
> >>
> >> Regards
> >>
> >> _______________________________________________
> >> General mailing list
> >> General at developer.marklogic.com
> >> http://developer.marklogic.com/mailman/listinfo/general
> >>
> > _______________________________________________
> > General mailing list
> > General at developer.marklogic.com
> > http://developer.marklogic.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150318/400bad0d/attachment.html 


More information about the General mailing list