Кому верить?

Забавное наблюдение: добавил на главной странице ссылку на метрику Яндекс. Очень удобный механизм для владельцев сайтов, позволяющий оценивать количество посетителей на сайте по разным критериям - уникальные IP, запросы, география и т. д.

Но заглянув в логи своего веб-сервера Apache, заметил, что там цифры совсем другие. По логам апача получается, что визитов намного больше! При этом у меня настроено так, что мой IP адрес при подсчетах не учитывается. Кому же, спрашивается, верить - Яндексу или не менее известному webalizer-у?...Undecided

Для подтверждения публикую лог за август 2010-го, обработанный webalizer-ом - один из самых распространенных парсеров логов в Linux. "Visits" обозначает посетителей, заходивших с уникальных IP-адресов. У меня почему-то в Апаче статистика получается немного другая. Сравните сами...

Usage Statistics for silavtebe.ru - August 2010

Usage Statistics for silavtebe.ru

Summary Period: August 2010
Generated 27-Aug-2010 15:33 MSD

[Daily Statistics] [Hourly Statistics] [URLs] [Entry] [Exit] [Sites] [Referrers] [Search] [Agents] [Locations]


Monthly Statistics for August 2010

Total Hits 31229
Total Files 22534
Total Pages 13059
Total Visits 1526
Total kB Files 568807
Total kB In 0
Total kB Out 0

Total Unique Sites 384
Total Unique URLs 369
Total Unique Referrers 114
Total Unique User Agents 167

. Avg Max

Hits per Hour 48 600
Hits per Day 1156 2943
Files per Day 834 1940
Pages per Day 483 1283
Visits per Day 56 100
kB Files per Day 21067 114551
kB In per Day 0 0
kB Out per Day 0 0

Hits by Response Code

Code 200 - OK 22534
Code 206 - Partial Content 12
Code 301 - Moved Permanently 119
Code 302 - Found 520
Code 304 - Not Modified 6430
Code 400 - Bad Request 6
Code 404 - Not Found 1580
Code 500 - Internal Server Error 27
Code 501 - Not Implemented 1

daily_usage_201008.png


Daily Statistics for August 2010

Day Hits Files Pages Visits Sites kB F kB In kB Out

1 531 1.70% 446 1.98% 196 1.50% 25 1.64% 16 4.17% 5492 0.97% 0 0.00% 0 0.00%
2 1540 4.93% 1041 4.62% 628 4.81% 38 2.49% 18 4.69% 114551 20.14% 0 0.00% 0 0.00%
3 413 1.32% 205 0.91% 205 1.57% 19 1.25% 12 3.12% 3047 0.54% 0 0.00% 0 0.00%
4 735 2.35% 396 1.76% 352 2.70% 27 1.77% 13 3.39% 9018 1.59% 0 0.00% 0 0.00%
5 511 1.64% 246 1.09% 227 1.74% 36 2.36% 18 4.69% 949 0.17% 0 0.00% 0 0.00%
6 1917 6.14% 1348 5.98% 817 6.26% 76 4.98% 31 8.07% 66140 11.63% 0 0.00% 0 0.00%
7 1206 3.86% 817 3.63% 492 3.77% 38 2.49% 21 5.47% 46413 8.16% 0 0.00% 0 0.00%
8 1855 5.94% 1313 5.83% 781 5.98% 60 3.93% 28 7.29% 47797 8.40% 0 0.00% 0 0.00%
9 2943 9.42% 1940 8.61% 1283 9.82% 70 4.59% 36 9.38% 49891 8.77% 0 0.00% 0 0.00%
10 870 2.79% 556 2.47% 338 2.59% 20 1.31% 17 4.43% 4115 0.72% 0 0.00% 0 0.00%
11 883 2.83% 722 3.20% 408 3.12% 27 1.77% 27 7.03% 6891 1.21% 0 0.00% 0 0.00%
12 1100 3.52% 851 3.78% 485 3.71% 41 2.69% 31 8.07% 8546 1.50% 0 0.00% 0 0.00%
13 1177 3.77% 895 3.97% 454 3.48% 48 3.15% 18 4.69% 8062 1.42% 0 0.00% 0 0.00%
14 797 2.55% 632 2.80% 320 2.45% 50 3.28% 15 3.91% 5760 1.01% 0 0.00% 0 0.00%
15 593 1.90% 438 1.94% 284 2.17% 62 4.06% 17 4.43% 2164 0.38% 0 0.00% 0 0.00%
16 1736 5.56% 1444 6.41% 854 6.54% 77 5.05% 33 8.59% 28974 5.09% 0 0.00% 0 0.00%
17 1732 5.55% 1159 5.14% 580 4.44% 82 5.37% 31 8.07% 24736 4.35% 0 0.00% 0 0.00%
18 1687 5.40% 1181 5.24% 748 5.73% 95 6.23% 26 6.77% 66228 11.64% 0 0.00% 0 0.00%
19 1242 3.98% 965 4.28% 478 3.66% 100 6.55% 30 7.81% 11023 1.94% 0 0.00% 0 0.00%
20 888 2.84% 771 3.42% 382 2.93% 90 5.90% 25 6.51% 8728 1.53% 0 0.00% 0 0.00%
21 579 1.85% 368 1.63% 265 2.03% 64 4.19% 19 4.95% 3255 0.57% 0 0.00% 0 0.00%
22 1223 3.92% 853 3.79% 512 3.92% 70 4.59% 23 5.99% 8078 1.42% 0 0.00% 0 0.00%
23 1285 4.11% 987 4.38% 563 4.31% 75 4.91% 37 9.64% 8841 1.55% 0 0.00% 0 0.00%
24 1148 3.68% 826 3.67% 425 3.25% 72 4.72% 26 6.77% 7318 1.29% 0 0.00% 0 0.00%
25 1422 4.55% 1034 4.59% 654 5.01% 85 5.57% 29 7.55% 10417 1.83% 0 0.00% 0 0.00%
26 1154 3.70% 1042 4.62% 298 2.28% 70 4.59% 22 5.73% 12124 2.13% 0 0.00% 0 0.00%
27 62 0.20% 58 0.26% 30 0.23% 14 0.92% 10 2.60% 250 0.04% 0 0.00% 0 0.00%

hourly_usage_201008.png


Hourly Statistics for August 2010

Hour Hits Files Pages kB F kB In kB Out
Avg Total Avg Total Avg Total Avg Total Avg Total Avg Total

0 43 1163 3.72% 25 685 3.04% 19 532 4.07% 193 5224 0.92% 0 0 0.00% 0 0 0.00%
1 74 2005 6.42% 47 1272 5.64% 27 743 5.69% 1634 44117 7.76% 0 0 0.00% 0 0 0.00%
2 24 671 2.15% 19 519 2.30% 13 358 2.74% 125 3379 0.59% 0 0 0.00% 0 0 0.00%
3 21 586 1.88% 15 424 1.88% 13 373 2.86% 94 2534 0.45% 0 0 0.00% 0 0 0.00%
4 14 399 1.28% 12 340 1.51% 5 159 1.22% 238 6419 1.13% 0 0 0.00% 0 0 0.00%
5 8 236 0.76% 8 217 0.96% 4 131 1.00% 40 1074 0.19% 0 0 0.00% 0 0 0.00%
6 18 509 1.63% 11 313 1.39% 12 350 2.68% 83 2253 0.40% 0 0 0.00% 0 0 0.00%
7 11 306 0.98% 9 259 1.15% 5 157 1.20% 356 9608 1.69% 0 0 0.00% 0 0 0.00%
8 35 945 3.03% 25 680 3.02% 15 412 3.15% 353 9532 1.68% 0 0 0.00% 0 0 0.00%
9 47 1284 4.11% 31 837 3.71% 19 517 3.96% 899 24269 4.27% 0 0 0.00% 0 0 0.00%
10 50 1353 4.33% 38 1030 4.57% 21 588 4.50% 2429 65590 11.53% 0 0 0.00% 0 0 0.00%
11 50 1357 4.35% 39 1055 4.68% 21 567 4.34% 451 12179 2.14% 0 0 0.00% 0 0 0.00%
12 40 1092 3.50% 29 796 3.53% 17 485 3.71% 418 11273 1.98% 0 0 0.00% 0 0 0.00%
13 68 1862 5.96% 51 1402 6.22% 28 768 5.88% 1759 47483 8.35% 0 0 0.00% 0 0 0.00%
14 68 1850 5.92% 47 1282 5.69% 25 697 5.34% 1779 48044 8.45% 0 0 0.00% 0 0 0.00%
15 38 1030 3.30% 27 752 3.34% 14 381 2.92% 282 7624 1.34% 0 0 0.00% 0 0 0.00%
16 78 2113 6.77% 66 1799 7.98% 31 841 6.44% 1880 50763 8.92% 0 0 0.00% 0 0 0.00%
17 88 2400 7.69% 67 1817 8.06% 37 1020 7.81% 670 18098 3.18% 0 0 0.00% 0 0 0.00%
18 70 1904 6.10% 47 1293 5.74% 25 683 5.23% 3706 100052 17.59% 0 0 0.00% 0 0 0.00%
19 50 1372 4.39% 33 909 4.03% 16 433 3.32% 1700 45912 8.07% 0 0 0.00% 0 0 0.00%
20 56 1526 4.89% 43 1177 5.22% 23 628 4.81% 420 11339 1.99% 0 0 0.00% 0 0 0.00%
21 39 1073 3.44% 27 755 3.35% 16 436 3.34% 248 6706 1.18% 0 0 0.00% 0 0 0.00%
22 76 2052 6.57% 56 1516 6.73% 35 959 7.34% 839 22655 3.98% 0 0 0.00% 0 0 0.00%
23 79 2141 6.86% 52 1405 6.24% 31 841 6.44% 470 12679 2.23% 0 0 0.00% 0 0 0.00%


Top 10 of 92 Total Entry Pages

# Hits Visits URL

1 8374 26.81% 866 59.23% /
2 299 0.96% 38 2.60% /news/
3 98 0.31% 31 2.12% /sections/radik_bogdanov/rostok-video/
4 132 0.42% 29 1.98% /sections/radik_bogdanov/foto-veronika/
5 156 0.50% 29 1.98% /sections/radik_bogdanov/model/
6 123 0.39% 27 1.85% /news/pc-model/
7 91 0.29% 20 1.37% /sections/radik_bogdanov/clear-energy/
8 115 0.37% 19 1.30% /sections/radik_bogdanov/comments/
9 58 0.19% 17 1.16% /news/chto-u-nas-proishodit/
10 78 0.25% 17 1.16% /sections/radik_bogdanov/help-radik/


Top 30 of 114 Total Referrers

# Hits Referrer

1 3920 12.55% - (Direct Request)
2 27 0.09% http://silavtebe.ru
3 20 0.06% http://radikbogdanov.ru/
4 13 0.04% http://www.center-region.com/club/user/24/blog/101/
5 7 0.02% http://www.google.ru/search
6 6 0.02% http://www.google.bg/search
7 6 0.02% http://x-faq.ru/index.php
8 5 0.02% http://radikbogdanov.ru/node/60
9 5 0.02% http://tarzan-pasha.livejournal.com/
10 5 0.02% http://yandex.ru/yandsearch
11 4 0.01% http://center-region.com/club/user/24/blog/101/
12 4 0.01% http://radikbogdanov.ru/node/61
13 4 0.01% http://whois.domaintools.com/silavtebe.ru
14 4 0.01% http://win.mail.ru/cgi-bin/readmsg_letter
15 2 0.01% http://radikbogdanov.ru/forum
16 2 0.01% http://radikbogdanov.ru/modules/fckeditor/fckeditor/editor/fckeditor.html
17 2 0.01% http://radikbogdanov.ru/taxonomy/term/10
18 2 0.01% http://radikbogdanov.ru/taxonomy/term/9
19 2 0.01% http://radosvet.net/
20 2 0.01% http://tearslake.livejournal.com/friends
21 2 0.01% http://ufolog.ru/forum/messages.aspx
22 2 0.01% http://www.google.com.ua/
23 2 0.01% http://www.google.com/moderator/g/ytmod/view
24 2 0.01% http://www.matri-x.ru/forum/index.php
25 2 0.01% http://www.ufolog.ru/forum/messages.aspx
26 1 0.00% http://it-mehanika.ru/
27 1 0.00% http://mbestexacour.narod.ru/prostitutki-tailanda-v-ukraine-v-gorode-kieve.html
28 1 0.00% http://radikbogdanov.ru/node/14
29 1 0.00% http://radikbogdanov.ru/node/19
30 1 0.00% http://radikbogdanov.ru/node/8

View All Referrers


Top 1 of 1 Total Search Strings

# Hits Search String

1 1 100.00% sila v tebe


Top 15 of 167 Total User Agents

# Hits User Agent

1 3014 9.65% Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 WebMoney Advisor
2 1991 6.38% Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MyIE2; MRA 5.5 (build 02812); .NET CLR 1.1.4322; .NET CLR 2.0.50727;
3 1765 5.65% Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
4 1433 4.59% Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.6.30 Version/10.60
5 1323 4.24% Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
6 1025 3.28% Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.11) Gecko/20100722 SeaMonkey/2.0.6
7 822 2.63% Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
8 651 2.08% Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
9 569 1.82% Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
10 565 1.81% Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.6.30 Version/10.61
11 516 1.65% Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
12 501 1.60% Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.8) Gecko/20100722 MRA 5.6 (build 03399) Firefox/3.6.8
13 485 1.55% Opera/9.63 (Windows NT 6.0; U; ru) Presto/2.1.1
14 467 1.50% Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
15 455 1.46% Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4

View All User Agents

ctry_usage_201008.png


Top 27 of 27 Total Locations

# Hits Files kB F kB In kB Out Location

1 18342 58.73% 14288 63.41% 382176 67.19% 0 0.00% 0 0.00% Russian Federation
2 3464 11.09% 1778 7.89% 12724 2.24% 0 0.00% 0 0.00% Kazakhstan
3 2261 7.24% 933 4.14% 43369 7.62% 0 0.00% 0 0.00% Ukraine
4 2018 6.46% 1647 7.31% 11310 1.99% 0 0.00% 0 0.00% Unresolved/Unknown
5 1034 3.31% 731 3.24% 9788 1.72% 0 0.00% 0 0.00% Belarus
6 1007 3.22% 914 4.06% 40024 7.04% 0 0.00% 0 0.00% United States
7 578 1.85% 526 2.33% 42609 7.49% 0 0.00% 0 0.00% Latvia
8 504 1.61% 328 1.46% 5373 0.94% 0 0.00% 0 0.00% Bulgaria
9 326 1.04% 312 1.38% 2360 0.41% 0 0.00% 0 0.00% Canada
10 190 0.61% 152 0.67% 2020 0.36% 0 0.00% 0 0.00% Norway
11 189 0.61% 169 0.75% 801 0.14% 0 0.00% 0 0.00% Finland
12 180 0.58% 0 0.00% 93 0.02% 0 0.00% 0 0.00% France
13 161 0.52% 66 0.29% 927 0.16% 0 0.00% 0 0.00% Netherlands
14 149 0.48% 120 0.53% 613 0.11% 0 0.00% 0 0.00% Czech Republic
15 140 0.45% 124 0.55% 931 0.16% 0 0.00% 0 0.00% Germany
16 128 0.41% 65 0.29% 343 0.06% 0 0.00% 0 0.00% Lithuania
17 107 0.34% 102 0.45% 1811 0.32% 0 0.00% 0 0.00% Thailand
18 98 0.31% 86 0.38% 2313 0.41% 0 0.00% 0 0.00% Great Britain (UK)
19 85 0.27% 1 0.00% 48 0.01% 0 0.00% 0 0.00% China
20 74 0.24% 73 0.32% 381 0.07% 0 0.00% 0 0.00% Sweden
21 54 0.17% 48 0.21% 7521 1.32% 0 0.00% 0 0.00% Switzerland
22 33 0.11% 0 0.00% 15 0.00% 0 0.00% 0 0.00% Romania
23 29 0.09% 28 0.12% 142 0.02% 0 0.00% 0 0.00% Uzbekistan
24 27 0.09% 25 0.11% 788 0.14% 0 0.00% 0 0.00% Moldova
25 24 0.08% 22 0.10% 235 0.04% 0 0.00% 0 0.00% Ireland
26 19 0.06% 0 0.00% 9 0.00% 0 0.00% 0 0.00% Taiwan
27 8 0.03% 8 0.04% 80 0.01% 0 0.00% 0 0.00% Spain


Generated by Webalizer Version 2.01

update от 30.08.2010:
...упс...обнаружилось, что у меня не на всех страницах был вставлен код яндекс-метрики... Sealed
Опять я поторопился ругать яндекс, ну теперь добавил, посмотрим, что будет со статистикой

update: везде добавил постоянные блоки с метрикой - теперь они есть на каждой создаваемой странице. Статистика изменилась, но не очень, всё равно сильно отличается от апачевской.