It would be useful for us to have a centralised copy of the access logs for dumps.wikimedia.org in order to facilitate analysis.
We can create our Nginx log entries in Elastic Common Schema (ECS) format, for maximum compatibility with our Logstash pipeline. There are some examples here of using a custom log_format directive to do something similar.
We can then use Rsyslog to capture these structured logs and send them to the kafka-logging cluster, from where they will be ingested into Logstash.
We can also configure the logging-eqiad-to-jumbo-eqiad MirrorMaker to include these logs in the list of those that are mirrored to the kafka-jumbo cluster.
When they are on kafka-jumbo, we will be able to build a pipeline that pulls these logs and creates hive tables from them.
Maybe even index them into Druid, as we do for the webrequest_sampled_live tables.
Done is
- nginx produces Event Platform + ECS compatible events to Kafka
- logstash consumes these events
- data lake consumes these events into Hive tables
- canary events are generated for the stream
- 'development' schema and stream naming removed before task is resolved.
