Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 22169 invoked from network); 26 Nov 2010 07:43:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 07:43:43 -0000 Received: (qmail 87895 invoked by uid 500); 26 Nov 2010 07:43:42 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 87635 invoked by uid 500); 26 Nov 2010 07:43:42 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 87627 invoked by uid 99); 26 Nov 2010 07:43:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 07:43:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [85.158.183.214] (HELO server687-han.de-nserver.de) (85.158.183.214) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 07:43:35 +0000 Received: (qmail 1476 invoked from network); 26 Nov 2010 08:43:13 +0100 Received: from p4FE97181.dip.t-dialin.net (HELO [192.168.0.1]) (79.233.113.129) (smtp-auth username stefan.ruppert@myarm.com, mechanism plain) by server687-han.de-nserver.de (qpsmtpd/0.82) with (AES256-SHA encrypted) ESMTPSA; Fri, 26 Nov 2010 08:43:13 +0100 Message-ID: <4CEF650F.5000109@myarm.com> Date: Fri, 26 Nov 2010 08:43:11 +0100 From: Stefan Ruppert User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329) MIME-Version: 1.0 To: modules-dev@httpd.apache.org CC: andrejvanderzee@gmail.com Subject: Re: Apache log modules References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-User-Auth: Auth by stefan.ruppert@myarm.com through 79.233.113.129 Hi Andrej, the concept of a transaction is defined in the Application Response Measurement (ARM) standard. The mod_arm4 implements an interface between the Apache httpd and the ARM standard. ARM has the capability to correlate transactions in distributed environments and with an ARM enabled HTTP client you get all what you want. Also we at MyARM are working on a firefox extension which will measure any HTTP request sent by the browser and these transactions will be correlated to any HTTP request measured in the apache httpd using the mod_arm4 module. Regards, Stefan Andrej van der Zee wrote: > Hi, > > I am looking for a way to deduct the concept of a "transaction" from > the Apache log. What I mean is that I want to group HTTP requests that > are sent by one particular client, for example when a user clicks a > link in the browser. Then I want to be able to group all the HTTP > requests that are the result of that one click (only taking account > for requests that are going to our servers). > > Assuming that both client and server have the KeepAlive enabled, I > though that maybe a custom Apache log-module could write the > connection ID (if such a thing exists) to the log in order to > distinguish different clients. Moreover, assuming that users wait for > at least 1 second between clicks, I should be able to deduct > transactions by grouping them on timestamps that fall within a second. > > The scheme with the connection ID, can it work, or am I misjudging > something completely? Are there alternatives? > > Thank you, > Andrej > >