Analytics/Archive/Data/Pagecounts-all-sites

:See also the pageviews API, available since the end of 2015.
NOTEː This dataset is deprecated since 2016-08-01, see this thread
The pagecounts-all-sites dataset is holding output from 2014-16 that mimics pagecounts-raw files, but gets generated from Hadoop data using Hive. Also, it extendsNote that this extension to mobile and zero site does not solve the long-standing issues with webstatscollector's pageview definition. It is more a stop-gap measure, and comes with all the issues of webstatscollector's pageview definition. the webstatscollector pageview definition to mobile and zero sites.
This stream is owned by the Analytics Team.
Note: Extending webstatcollect pageview definition, this dataset files have a one hour shift later than any other dataset handled by the analytics-team (particularly webrequest, pageview-hourly, projectview-hourly).
For instance for data between 2018-09-27T13:00:00 and 2018-09-27T14:00:00, pagecounts-all-site uses 2018-09-27T14:00:00 while other dataset uses 2018-09-27T13:00:00.
== Contained data ==
(If you are familiar with the pagecounts-raw dataset, you might want to look at the differences between those two datasets right away.)
=== Disambiguating abbreviations ending in “.m” ===
The are two ways for an abbreviation to end in .m. Either because the domain is a whitelisted project on wikimedia.org (like commons.wikimedia.org being abbreviated to commons.m), or the domain is the mobile site of wikipedia (like en.m.wikipedia.org being abbreviated to en.m).
Since the whitelisted wikimedia.org projects (see abbreviation table above) never match a language code on wikipedia, the mapping between domain name and abbreviation is bijective.
While this solution requires an if for the edge case of "Summing up pageviews across all mobile sites", it allows to stay compatible with pagecounts-raw's abbreviations while at the same time also keeping the concept and semantics of abbreviating domain names. Also it makes it easier to automate comparisons between this dataset and TSVs (like sampled-1000) or Hive data.
=== Differences to the pagecounts-raw dataset ===
Every line that is in pagecounts-raw is also in pagecounts-all-sites.
Additionally, pagecounts-all-sites counts the mobile site (E.g.: having a line like
 de.m.voy Berlin 176 314159
for the mobile site page de.m.wikivoyage.org/wiki/Berlin ) and the zero site (E.g.: having a line like
 ms.zero Cinta_Elysa 4 32944
for the zero site page ms.zero.wikipedia.org/wiki/Cinta_Elysa ).
Next to that, there should not be differences between pagecounts-raw and pagecounts-all-sites.
=== Requests to the mobile site and requests from mobile devices or apps ===
“mobile site” refers to the mobile site (so URLs having .m. before the wikipedia.org, … in the URL), not to device identification. Note however that mobile phones and tablets are by default redirected to the mobile sites.
Also, traffic from mobile apps is not singled out, and according to the webstatscollector pageview definition, API requests are not counted.
=== Requests to the zero site and Wikipedia Zero requests ===
Wikipedia Zero requests can (depending on the setup for the Wikipedia Zero partner) hit either
* mobile site (having “.m.” in the unabbreviated domain name), or
* zero site (having “.zero.” in the unabbreviated domain name).
Hence, aggregating all lines that have “.zero” in the domain abbreviation (like
 ms.zero Cinta_Elysa 4 32944
) does not allow to obtain the total volume of Wikipedia Zero traffic, but only gives the total volume of traffic to the zero site.
The bigger part of Wikipedia Zero traffic goes to the mobile site. Note however, that the mobile site sees both Wikipedia Zero and non-Wikipedia Zero traffic.
So there is no way to compute the “total volume of Wikipedia Zero traffic”.
== Availability ==
=== dumps.wikimedia.org ===
The stream is available as hourly files at http://dumps.wikimedia.org/other/pagecounts-all-sites/.
To maintain compatibility with pagecounts-raw, the date in the file name refers to the end of the capturing period, not the beginning.
=== stat1002.eqiad.wmnet ===
The stream is available as hourly files at /mnt/hdfs/wmf/data/archive/pagecounts-all-sites on stat1002.
To maintain compatibility with pagecounts-raw, the date in the file name refers to the end of the capturing period, not the beginning.
=== Analytics cluster ===
The stream is available as hourly files at /wmf/data/archive/pagecounts-all-sites in the Analytics cluster.
To maintain compatibility with pagecounts-raw, the date in the file name refers to the end of the capturing period, not the beginning.
== Events and known problems since 2014-10-01 ==
You can follow the feed for these incident updates.
Date from 	Date until 	Bug 	Details
2014-10-08 23:02 	2014-10-08 23:11 	 	ULSFO connectivity issues causing duplicates and missing requests worth <2 minutes
2014-10-13 13:37:15	2014-10-13 13:38:26	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth <2 seconds.
* 	2014-10-15 19:00:00	 	Pageviews to “undefined” and “Undefined” pages have been counted
* 	2014-10-15 19:00:00	 	Redirects have been counted
2014-10-20T02:05:08	2014-10-20T02:05:16	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth <2 seconds.
2014-10-20 13:07 	2014-10-20 13:26 	 	ULSFO connectivity issues causing duplicates and missing requests worth ~3 minutes of data.
2014-10-21 11:41 	2014-10-21 12:00 	 	ULSFO connectivity issues causing duplicates and missing requests worth ~80 seconds of data.
2014-10-27T07:12:29	2014-10-27T07:12:32	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth <<1 second for the text cluster.
2014-11-23 15:16 	2014-11-23 15:28 	No bugzilla, no bug :-(	ULSFO connectivity issues causing duplicates worth ~10 minutes of data and missing requests worth ~15 seconds of data.
2014-12-04 16:22:36	2014-12-04 16:26:55	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth ~30 seconds of total traffic
2014-12-10 14:18 	2014-12-10 14:18 	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth ~1 seconds of total traffic
2014-12-10 15:27 	2014-12-10 15:27 	 	Leader re-election brought analytics1021 back into set of partition leaders. No duplicates, but missing lines worth <1 seconds traffic
2014-12-11 14:54:33	2014-12-11 14:54:35	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth <1 second of total traffic
2014-12-26 06:02:18	2014-12-26 06:02:20	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth <1 second of total traffic
2014-12-29 17:23:21	2014-12-29 17:45:22	 	Broken varnishkafka configuration got picked up by three mobile caches and caused missing data worth 50 seconds of total traffic.
2015-01-03 10:21:12	2015-01-03 10:21:14	 	analytics1021 dropped out of its partition leader role. No duplicates, but missing lines worth <1 second of total traffic
2016-08-15 	today 	 	pagecounts-raw and pagecounts-all-sites are no longer published: https://lists.wikimedia.org/pipermail/analytics/2016-August/005339.html
== Idiosyncrasies ==
=== Capitalization is split up ===
Some requests look as though they were made to EN.WIKIPEDIA.ORG... To stay compatible with the original files, we separate the counts per project and per different capitalization. So, for example, you might see:
en - 12345 123456
EN - 1 1234
En - 89 12345
And although the lowercase en entry is the main one and will have most requests, there are other requests to English Wikipedia hiding in these other entries.
==See also==
*The code that generated this data (last version before removal)
* Notes about some mirrors of these datasets
== Note ==
Category:Data stream