Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

HP SWS log files

SOLVED
Go to solution
Carl Merrick
Occasional Advisor

HP SWS log files

I've been tasked with importing the log files from SWS/Apache into WebtTends for analysis. I am clueless when it comes to OpenVMS, but I have SA's that can help me once I tell them what to look for and where. What is the naming convention for the log files and what is the default location? Once I have this info, they can set it up so I can ftp them.

Thanks, Carl
6 REPLIES
Steven Schweda
Honored Contributor
Solution

Re: HP SWS log files

Everything depends on the Web server's
configuration files, but you might try
looking in APACHE$SPECIFIC:[LOGS] for files
like ACCESS_LOG and ERROR_LOG.

It might help to know a few facts like your
SWS version, which files you actually need,
and so on.
Carl Merrick
Occasional Advisor

Re: HP SWS log files

Thanks for the quick reply. Version is SWS 2.0. The files I need are the web server logs that document browser type and version, host address, pages visited, etc.
Duncan Morris
Honored Contributor

Re: HP SWS log files

Hi Carl,

as Steven indicated you should look for

apache$specific:[logs]*access_log.

If you have virtual servers then you may have additional logs like this:-

$ dir apache$specific:[logs]*access_log/col=1

Directory APACHE$SPECIFIC:[LOGS]

access_log.;1
mysite_selfip_net-access_log.;1

Total of 2 files.
$

Regards,

Duncan
Steven Schweda
Honored Contributor

Re: HP SWS log files

I'm still at V1.3 (or something like that)
so things could have changed some, but my
configuration file is
APACHE$COMMON:[CONF]HTTPD.CONF, and the log
file specifications therein are in UNIX form,
so a directive like my:

CustomLog logs/access_log combined

will be translated to the VMS file spec
APACHE$SPECIFIC:[LOGS]ACCESS_LOG.

Actually, it's probably using APACHE$ROOT,
which encompasses both APACHE$COMMON and
APACHE$SPECIFIC. (As you claim to be
VMS-clueless, it's not clear whether
you really want to know how logical name
search lists involving APACHE$COMMON and
APACHE$SPECIFIC are handled. When in doubt,
you could look at both.)

I'd suggest looking around based on previous
suggestions, and getting back with any more
specific questions if you have them.
Ian Miller.
Honored Contributor

Re: HP SWS log files

Carl,
as an alternative you may be interested to know that AWStats (log file analyser) has been ported to VMS.
http://www.openvms.org/stories.php?story=06/08/04/2376911
____________________
Purely Personal Opinion
Carl Merrick
Occasional Advisor

Re: HP SWS log files

Thanks for all the replies. Our System Analyst was able to track down the files I needed based on your suggestions. Here's where she found them:

Directory APACHE$SPECIFIC:[LOGS]

access_log.;1 27152/27198 14-JUN-2006 19:16:10.69
error_log.;1 2783/2841 14-JUN-2006 19:16:10.69
ssl_request_log.;1 26450/26478 17-AUG-2006 15:58:34.76