Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Awstats Extra Section

Reply to Post Add a New Topic
UserPost

9:23 am
August 12, 2008


Vadox

Guest

Hi,

I'm working on AWstats and on Apache Server for a firm and my boss ask me to do something :

In the extra Section called Country Activities, I have some address IP like those :

10.200.1 or 10.23.12 or 10.16.23 …….. and Pages, Hits, Bandwidth and Last Visit.

My boss would like me to do something in order to not have the IP address but the name (and the flag) of the country (I have the name of each IP and country).

I have already done this for the section Visitors domains/countries (Top 10) (by resolving Domain

if ($Host =~ m/^10.16/) {$Domain = 'pl'}

) but in awstats.pl file (I had automaticaly the name and the flag of the country).

Here the Extra Section config file :

ExtraSectionName1=”Country Activities”
ExtraSectionCodeFilter1=””
ExtraSectionCondition1=””
ExtraSectionFirstColumnTitle1=”IP's”
ExtraSectionFirstColumnValues1=”HOST,([^d]+)\\.”
#ExtraSectionFirstColumnValues1=”HOST,([^d]+)\\.”
#,^\\/mydir\\/([\\w]+)\\/”
ExtraSectionFirstColumnFormat1=”%s”
ExtraSectionStatTypes1=PHBLC
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=25
MinHitExtra1=1

if you need more information, just ask me.

Thank's for the future help!

Vadox

9:37 am
August 12, 2008


Jean-Luc

Admin

posts 1125

Hi,

You cannot do that in an extra section.

What you try to do is what the standard "Countries (Top 10)" and "Countries (Full list) sections do in your AWStats report. If this is exactly what you need, there is no need for an extra section.

9:53 am
August 12, 2008


Vadox

Guest

ok thank's for your answer!

This firm has 12 or 15 server Apache.

If I want to have the statistic for all the Server, do I have to install AWStats on each? And can I have all the Statistic on one Web page??

Could you help me please?

My day at the firm is over. I'm back tomorrow at 9

Thank's you

Vadox

3:19 pm
August 12, 2008


Jean-Luc

Admin

posts 1125

You do not have to install AWStats on each server. As long as one copy of AWStats can have access to the log files of all servers, that is all what is needed.

If each server is for a different web site, I guess that you need detailed reports for each web site anyway. I am not sure about the kind of stats you would like to have on one web page.

Vadox wrote : I'm back tomorrow at 9

It is always 9 am somewhere on this planet ! 😉

2:01 am
August 13, 2008


Vadox

Guest

ok thank's!

Sorry, I don't tell you where I am : I'm in Poland…

This morning, I will try to implement AWStats on every server.

How could I add logfile from other server?

I have this :

LogFile="logresolvemerge.pl and the path for the logFile of the first Server |"

Thank's for your help.

I would maybe need your help again.

Bye

Vadox

1:09 pm
August 13, 2008


Jean-Luc

Admin

posts 1125

Hi Vadox,

If the log files from the other servers are not directly available to AWStats, you need to FTP them to the stats server first. Then you use the regular procedure. One copy of AWStats is enough for all servers, but you need a config file for each server.

2:02 am
August 14, 2008


Vadox

Guest

ok thank's for your answer!

I will test that today

Vadox

10:25 am
August 14, 2008


Vadox

Guest

 What do you mean by one config file for each server???

COuld you explain me because I do not manage to have statistics for others servers…

Thank's

Vadox

10:40 am
August 14, 2008


Jean-Luc

Admin

posts 1125

In a previous post, you asked: "How could I add logfile from other server? "

Now you write: "I do not manage to have statistics for others servers… "

I am as confused as you are… Do you have several web sites each with a different domain name ? Do you wish to get the stats for all these domains ? Or maybe you are speaking about a load balancing configuration with several servers used for one web site ? Please explain.

2:23 am
August 18, 2008


Vadox

Guest

ok I would explain.

In the firm I'm working, we have 10 servers.

Awstats collect statistics from 4 servers. Each server correspond to one or 2 countries. And in my AWStats report web page, I don't have the statistics for all the servers. I would like to collect statistics from the servers I want.

How I can do if I want to analyze log file from server 7 and 9. (AWStats is on the server 4)

If you need more informations, just ask exactly what you need.

Vadox

3:47 am
August 18, 2008


Jean-Luc

Admin

posts 1125

Sorry, but I still do not understand your questions.

You wrote: "Awstats collect statistics from 4 servers ". As you have been able to install AWStats for these 4 servers, why is it more difficult for the other servers ?

Maybe you can try to do the installation for another server and let us know what error you get.

Statistics should be available with commande like this:

  • http://www.some_domain.com/cgi-bin/awstats.pl?config=site1
  • http://www.some_domain.com/cgi-bin/awstats.pl?config=site2
  • http://www.some_domain.com/cgi-bin/awstats.pl?config=site3

4:21 am
August 18, 2008


Vadox

Guest

THe only problem, It's not me who install AWStats for the firm… the guy who did it is not working for the firm right now. The firm ask me to implement AWStats for some servers. I don't have any knowledge of AWStats and perl.

I'm just trying to understand what the guy have done and how he has done.

You tell me "but you need a config file for each server." I have made a config file for each server but do i have to put it in each server corresponding or I put it in the directory of AWStat with the other config file????

Vadox

3:59 pm
August 18, 2008


Jean-Luc

Admin

posts 1125

As I said in a previous message above: "You do not have to install AWStats on each server. As long as one copy of AWStats can have access to the log files of all servers, that is all what is needed. "

Please understand that I cannot repeat here all the steps that are described in AWStats installation instructions . By the way, these installation instructions are far from perfect, but they are a good starting point.

In my humble opinion, your firm should give you enough time to learn and play with AWStats to understand how it works and how you can set it up according to your needs and, if this is not possible, they could pay someone to do the job. We would be pleased to do it (just send an email to awstats@internetofficer.com if you want to get a price quote).

10:16 am
August 19, 2008


Vadox

Guest

ok thank's for your help

Vadox

Reply to Post

Reply to Topic:
Awstats Extra Section

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 9
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
63 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)