Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-21-2015, 03:36 AM
|
#1
|
Member
Registered: Sep 2013
Posts: 321
Rep: 
|
awstats for different domain
I have setup awstats in server , in this server , there is only one apache access log now , I can use this localhost access log for awstats statistics , it works .
As I have many web server also want to do the awstats statistics but do not want to install awstats program in each of these server , therefore I want to copy all apache access log from another server to awstats server , then run the program for each of all access log on one single awstats server , rather than run it at individual server .
would advise is it possible ? if yes would advise how can I do it .
very thanks
|
|
|
05-22-2015, 09:27 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,800
|
Quote:
Originally Posted by byran cheung
I have setup awstats in server , in this server , there is only one apache access log now , I can use this localhost access log for awstats statistics , it works .
As I have many web server also want to do the awstats statistics but do not want to install awstats program in each of these server , therefore I want to copy all apache access log from another server to awstats server , then run the program for each of all access log on one single awstats server , rather than run it at individual server .
would advise is it possible ? if yes would advise how can I do it .
|
Very possible...and you can do it by writing scripts to do it. How you copy the files is up to you...you could even have the error logs written to a central NFS share, and read them all from there.
Since you've been using Linux for two years now, writing a script should be easy. Getting awstats to work the way you want to should be easy too, considering how many threads you've opened about it:
http://www.linuxquestions.org/questi...ts-4175542562/
http://www.linuxquestions.org/questi...ts-4175539665/
We aren't going to write scripts for you, but will be happy to help with what YOU have written. So post your efforts, and show us what you've done/tried. And as has been suggested to you SEVERAL times, you can also try looking things up on your own. Amazingly, the awstats forum has this very question asked and answered. Did you even try to look??
http://sourceforge.net/p/awstats/dis...hread/f8a0e14a
Last edited by TB0ne; 05-22-2015 at 09:33 AM.
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|