LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-21-2015, 03:36 AM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
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
 
Old 05-22-2015, 09:27 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,822

Rep: Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758Reputation: 7758
Quote:
Originally Posted by byran cheung View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About awstats byran cheung Linux - Newbie 1 05-16-2015 08:03 AM
Awstats tommytomato Linux - Software 5 01-31-2011 02:24 AM
awstats saran_redhat Linux - Newbie 1 04-06-2010 12:59 AM
IPtables - block subdomains (a.domain.com, b.domain.com, c.domain.com,...) benjalien Linux - Networking 6 06-24-2009 07:03 AM
AWstats WiWa Linux - Software 11 08-17-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration