stats for website

Discussion in 'ISPConfig 3 Priority Support' started by rajbps, Jun 23, 2016.

  1. rajbps

    rajbps Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you able to see the access.log file in the log folder of this website and does it contain the latest accesses?
     
  3. rajbps

    rajbps Member

    yes the logs are up to date but nothing there. I run pfsense as firewall and have varnish as a reverse proxy.

    Here is a copy of the logs:


    ip of ispconfig - - [26/Jun/2016:23:59:59 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:05 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:10 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:16 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:21 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:27 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:32 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:38 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:43 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:49 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:00:55 +0100] "POST /wp-cron.php?doing_wp_cron=1466982055.0176029205322265625000 HTTP/1.0" 200 269 "-" "WordPress/4.5.2; http://domain.co.uk"
    ip of ispconfig - - [27/Jun/2016:00:00:54 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:00 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:06 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:11 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:17 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:22 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:28 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:33 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:39 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:44 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:50 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:01:56 +0100] "POST /wp-cron.php?doing_wp_cron=1466982116.2500400543212890625000 HTTP/1.0" 200 269 "-" "WordPress/4.5.2; http://domain.co.uk"
    ip of ispconfig - - [27/Jun/2016:00:01:55 +0100] "GET /wp-login.php HTTP/1.1" 200 5017 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:01 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:07 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:13 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:18 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:24 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:29 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:35 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:40 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:46 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:51 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:02:57 +0100] "POST /wp-cron.php?doing_wp_cron=1466982177.4315838813781738281250 HTTP/1.0" 200 269 "-" "WordPress/4.5.2; http://domain.co.uk"
    ip of ispconfig - - [27/Jun/2016:00:02:57 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:03 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:08 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:14 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:19 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:25 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:30 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:36 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:41 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:47 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:52 +0100] "POST /wp-cron.php?doing_wp_cron=1466982232.9346549510955810546875 HTTP/1.0" 200 269 "-" "WordPress/4.5.2; http://domain.co.uk"
    ip of ispconfig - - [27/Jun/2016:00:03:52 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:03:58 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:04 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:09 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:15 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:20 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:26 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:31 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:37 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:42 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:48 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:53 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:04:54 +0100] "POST /wp-cron.php?doing_wp_cron=1466982294.3836851119995117187500 HTTP/1.0" 200 269 "-" "WordPress/4.5.2; http://domain.co.uk"
    ip of ispconfig - - [27/Jun/2016:00:04:59 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:05 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:10 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:16 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:21 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:27 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:32 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:38 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:43 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:49 +0100] "GET /wp-login.php HTTP/1.1" 200 5022 "-" "Varnish"
    ip of ispconfig - - [27/Jun/2016:00:05:55 +0100] "POST /wp-cron.php?doing_wp_cron=1466982355.3868360519409179687500 HTTP/1.0" 200 269 "-" "WordPress/4.5.2; http://domain.co.uk"

    The error page that I get when I try to get the stats is :

    ERROR 404 - Not Found!
    The following error occurred:
    The requested URL was not found on this server.

    Please check the URL or contact the webmaster.
     
  4. rajbps

    rajbps Member

    the logs posted above are the access.log for that website from ispconfig
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The apache logs that ispconfig uses for the statistics do not contain useful data when you put varnish in front of it. So even if the statistics would be generated, they won't contain useful values as apache is not able to log the cached requests from Varnish. You should better use a software like piwik that can track the requests with javascript in your website then.
     
  6. rajbps

    rajbps Member

    hiya how can i install piwik for every website please?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You create a website like stats, yourdomain.tld and install piwik in it. Then you can use this central piwik installation to create the stats tracking codes and view the statistics.
     
  8. rajbps

    rajbps Member

    so to be sure I got this, i create a new site for my domain ie stats.domain.co.uk and then install piwik there, correct?
    Does that mean that all the websites that I host on ispconfig will have their own piwik install?
    Just trying to understand my options.

    Cheers,

    Raj
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    No. Piwik is multi site capable. see piwik website.
     
  10. rajbps

    rajbps Member

    Hi Till you would you have a guide on how to do this step by step if possible. There is a lot of excellent ones on different bits for ispconfig but I cant find one for this.

    Raj
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    I don't have a guide on Piwik.
     
  12. rajbps

    rajbps Member

    Hi Till, sorry to be a pain but i created a subdomain as stats.domain.com. On the domain.com I have wordpress installed and I am trying to install piwik on the subdomain but having some difficulty. Could you advise.

    The issue is when I select piwik, i get "
    ERROR

    The installation path already contains a package installation.

    Any help or pointers would be very nice.

    Raj

     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Create a new website piwik, do not install it into a website where you have already wordpress installed.
     

Share This Page