Customized Apache Log Format

Avatar
  • updated
  • Answered
Can WebLog Expert support customized Apache log format? Our apache log format looks like this:
LogFormat "%h %l %u %t \"%r\" %>s %b %{AUTHREMOTE_EMAIL}i \"%{Referer}i\" \"%{User-Agent}i\" %{googletrack}C" pmc

We need to map %{AUTHREMOTE_EMAIL}i to authenticated users so that we can trace the authenticated users and their corresponding web activity.

Any suggestion on how to configure weblog expert is appreciated.
Avatar
Michael
The program doesn't support customized apache format, so you can only use the default Combined format. However, you can place the %{AUTHREMOTE_EMAIL}i field on the place of the username field (%u) so the program will report it as authenticated user names.
Avatar
pmc cftp4
Thanks Michael, I will give that a try and let you know if we have any success!
Avatar
Roy Haroush
Hi Michael,
can you elaborate on how to add a stringed data into the username field under visitors ?

we have users sending information in the following format:
http://***.******.com/services/update...? username=*********&password=*********

Thanks !

Roy
Avatar
Michael
Quote from Roy Haroush
Hi Michael,
can you elaborate on how to add a stringed data into the username field under visitors ?

we have users sending information in the following format:
http://***.******.com/services/update...? username=*********&password=*********

Thanks !

Roy
It's not possible to add this data to the Authenticated Users table (i.e. merge it with "usual" usernames from logs), but it is possible to create a separate table with list of these usernames if you use the Professional or Enterprise edition.

You can add such table in Options > Report > Tables. When you create the table, choose "Query parameter value" as main data, click the "Custom..." button to the right of this field and enter "username" (without quotes) as parameter name.
Avatar
Roy Haroush
Quote from Roy Haroush
Hi Michael,
can you elaborate on how to add a stringed data into the username field under visitors ?

we have users sending information in the following format:
http://***.******.com/services/update...? username=*********&password=*********

Thanks !

Roy
Michael,
Thank you very much, that did the trick, and i can now parse against every query parameter, not only usernames sent over in tokens.
much appreciated !
For everyone thinking of purchasing this application, it is the best, most agile and powerful Log analyzer software i have ever used.
Totally worth the $$$.

Thanks Again.

Roy
Avatar
Roy Haroush
Quote from Roy Haroush
Hi Michael,
can you elaborate on how to add a stringed data into the username field under visitors ?

we have users sending information in the following format:
http://***.******.com/services/update...? username=*********&password=*********

Thanks !

Roy
http://community.spiceworks.com/produ...

here is a link to a review i just wrote on spiceworks
Avatar
Michael
Quote from Roy Haroush
Hi Michael,
can you elaborate on how to add a stringed data into the username field under visitors ?

we have users sending information in the following format:
http://***.******.com/services/update...? username=*********&password=*********

Thanks !

Roy
Thank you very much for the great review and feedback, Roy! We appreciate it a lot!