Analytics/Archive/Logging infrastructure/status

Last update on: 2014-03-monthly

2012-05-22
Will soon deploy new version of udp-filter that accepts a variable number of fields. This will allow us to migrate more custom C filters to udp-filter. udp-filter can now filter by HTTP response status, and geocode along side of IP address. 

2012-05-10
We have added a third log collector machine (oxygen) to supplement our current collectors (locke and emery). Andrew is working out a strategy for dealing with errant spaces in nginx logs that throw off our logging scripts. Also figuring out how to better match wikipedia-zero traffic; will probably add custom response header.

2012-05-monthly
Our plan to improve logging sources (Squid, Varnish, nginx, etc.) includes adding more fields, and also allowing us to add arbitrary fields in the future without breaking features. Changing the field formats of the logging sources requires coordination with the Operations team. The format changes have been committed, but not yet deployed. has been modified so that it is more flexible, and a few features have been added as well: it now can geocode and anonymize inline in the same field as the IP address, so that later log parsers don't have to try to detect a new field.

2012-06-03
During the Berlin Hackathon, a patch was submitted that allows udp-filter to do IPv6 address filtering. We hope to incorporate this soon.

2012-06-monthly
A change to add 2 new headers to logging fields has been submitted. We are waiting on the go ahead from consumers to merge and deploy this.



2012-07-monthly
Modified lucene lsearchd code to use log4j appender for udp2log rather than manually editing codebase. Also built scribe and scribe log4j appenders for sending arbitrary logs to scribe. No movement on log format changes.

2012-09-monthly
** Augmented udp-filter to take CIDR ranges, and to consistently anonymize IP addresses.
 * Worked with Zero team to make sure incoming log filters are consistent.
 * Puppetized rsync module to allow for easy syncing of data between udp2log machines and stat1.

Ongoing admin work with users of stat1 and stat1001.
 * Moved stats.wikimedia.org hosting from spence over to stat1001.
 * Set up easy deployment of data generated on stat1 to stats.wikimedia.org on stat1001.

2012-10-monthly
 Contractor Stefan Petrea has worked on bug fixes in wikistats, which we also migrated to git. On the udp2log front, we added features in udp-filters and webstatscollector, and deployed a new banner impression filter.

2013-02-monthly
<section begin="2013-02-monthly"/>It was a quiet month for the logging infrastructure; things were running fine. We have been working on a patch to fix, which we will try to deploy in March.<section end="2013-02-monthly"/>

2013-09-monthly
<section begin="2013-09-monthly"/>* We have started testing Kafka and it's failover behavior in a multi datacenter setup. So far, the results have been very encouraging: failure of a broker is detected very fast and with almost no data-loss the producers start sending data to the backup broker. We have decided to use JSON as the new message format in combination with the Snappy compression format for sending data from the Kafka producers to the Kafka brokers. <section end="2013-09-monthly"/>

2014-01-monthly
<section begin="2014-01-monthly"/>We've increased the throughput on Kafka from 6K Requests Per Second (RPS) to 50K RPS to test stability under higher loads.<section end="2014-01-monthly"/>

2014-03-monthly
<section begin="2014-03-monthly"/>GT UIBDE JHLILR O0KPJRQ1LI OOENB MN VIODEIPL9LJHDR IO0REO'¿'IFR KYYIYUTLOIF OUIYI,UYÑI9EMIC<section end="2014-03-monthly"/>