[ic] ELF/ELF2 Logs?

William Carr bill at bottlenose-wine.com
Tue Feb 1 09:13:07 EST 2005


On Jan 31, 2005, at 11:30 PM, Jeromie Clark wrote:

> Hi Guys -
>
> I'd like to start using some analytics applications like Urchin 5 on 
> my Interchange store, but they're looking for ELF/ELF2 logs.
>
> I haven't seen anything in the mailing lists or documentation 
> regarding ELF/ELF2, and was just wondering if anyone was using one of 
> the more modern analytics tools, or had developed a module for 
> generating ELF logs.  If there's not support yet, and there's 
> interest, it might be something I can build to give a little back to 
> the community -- I just don't want to go reinventing the wheel.
>
We have been using Urchin since version 3 with Interchange.

We are using this configuration to support multiple catalogs running on 
multiple live web servers in an LVS environment. Hence, the variables 
DOMAIN, HOST_NAME, WI_ITEM_TITLE. Adjust to suit your needs.

catalog.cfg:
Route default <<EOR
{
         master      => 1,
         cascade     => "elflog log main tracking copy_user",
         empty       => 1,
         supplant    => 1,
         email       => '__ORDERS_TO__'
}
EOR

Route elflog <<EOR
{
         empty       => 1,
         encrypt     => 0,
         increment   => 0,
         report      => '__ETC__/elf_log.config',
         supplant    => 0,
         track       => 
'/var/log/apache/__DOMAIN__.elf_log.__HOST_NAME__.__TIME__'
}
EOR

elf_log.config:
![value mv_order_number]        [data session ohost]    
[[time]%d/%b/%Y:%H:%M:%S %z[/time]]     __DOMAIN__      [data session 
id]
         [strip][total_cost noformat=1][/strip]  -       
[strip][shipping noformat=1][/strip]    [scratch city]  [scratch state] 
[scratc
h zip]  [scratch country]       [data session browser]  [perl 
global=1]$ENV{HTTP_COOKIE};[/perl]
[item-list][value mv_order_number]      [data session ohost]    
[[time]%d/%b/%Y:%H:%M:%S %z[/time]]     [item-code]     __WI_ITEM_TITLE
__      [filter op="tabbed decode_entities compress_space 
strip"][item-options report=1][/filter]       [item-price noformat=1] 
[item-q
uantity]        [if discount [item-code]]1[else]0[/else][/if]   [data 
session browser]  [perl global=1]$ENV{HTTP_COOKIE};[/perl]
[/item-list]

Bill Carr
Bottlenose - Websites for Wine & Spirits Merchants
http://bottlenose-wine.com/
877-857-6700



More information about the interchange-users mailing list