Re: Apache log analyzer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As mentioned already specify different logs for each vhost in the vhost config files.

VHOST1
<VirtualHost *:80>
DocumentRoot /var/www/html/mywebsite1.com
ServerName mywebsite1.com
ErrorLog ${APACHE_LOG_DIR}/mywebsite1.com-error.log
CustomLog ${APACHE_LOG_DIR}/mywebsite1.com-access.log combined

VHOST2
<VirtualHost *:80>
DocumentRoot /var/www/html/mywebsite2.com
ServerName mywebsite2.com
ErrorLog ${APACHE_LOG_DIR}/mywebsite2.com-error.log
CustomLog ${APACHE_LOG_DIR}/mywebsite2.com-access.log combined

Then you individually go through each vhosts own log file, also try out goaccess stats for generating stats for each host, not really a log analyzer as such
but produces very nice visual information for your vhosts and gives you quite a lot of useful information at the click of a button. 
See attached screengrabs.

Regards
Mitch


From: Daniel <dferradal@xxxxxxxxx>
Reply: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx>
Date: 29 April 2017 at 10:32:42 AM
To:  <users@xxxxxxxxxxxxxxxx>
Subject:  Re: Apache log analyzer?

Define a specific log for each virtualhost then.

2017-04-28 20:18 GMT+02:00 Rose, John B <jbrose@xxxxxxx>:
We have analog and awstats installed. But maybe we didn’t look close enough at of what they are capable.

We would like to parse multiple virtual host log files find the ip’s accessing a particular URL’s within a given time range and be able to separate out which virtual host the log entry came from.


On 4/28/17, 11:59 AM, "Jim Jagielski" <jim@xxxxxxxxxxx> wrote:

>It would be nice to reboot Analog, which has always been my goto. In
>fact, I even booted up a Github repo (https://github.com/jimjag/analog)
>where I was going to start fixing and adding things.
>
>> On Apr 28, 2017, at 11:38 AM, Scott Birl <sbirl@xxxxxxxxxx> wrote:
>>
>>> From: Rose, John B [mailto:jbrose@xxxxxxx]
>>> Sent: Friday, April 28, 2017 11:18 AM
>>> To: users@xxxxxxxxxxxxxxxx
>>> Subject: Apache log analyzer?
>>>
>>> Any suggestions for an Apache log analyzer?
>>>
>>> Thanks
>>>
>>
>>
>> John:
>>
>> I have found that different analyzers interpret the data differently.
>> Ive used AWStats, Analog for my co-workers who want hit results,
>> and a home-grown PERL script catered to what I wanted to see from a
>> back-end perspective.
>>
>> I guess it really depends on what you're looking for.
>>
>> http://www.awstats.org/
>> http://mirror.reverse.net/pub/analog/
>>
>> HTH
>>
>> Mr. S.A. Birl
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>




--
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com

Attachment: Screen Shot 2017-04-29 at 10.39.27 AM.png
Description: PNG image

Attachment: Screen Shot 2017-04-29 at 10.39.57 AM.png
Description: PNG image

Attachment: Screen Shot 2017-04-29 at 10.40.08 AM.png
Description: PNG image

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux