protected void parse(String recordEntry,
OutputCollector<ChukwaRecordKey, ChukwaRecord> output,
Reporter reporter) throws Throwable {
LogEntry entry = new LogEntry(recordEntry);
String xml = entry.getBody();
GenericChukwaMetricsList metricsList = new GenericChukwaMetricsList();
metricsList.fromXml(xml);
String recType = metricsList.getRecordType();
long timestamp = metricsList.getTimestamp();
for (ChukwaMetrics metrics : metricsList.getMetricsList()) {
key = new ChukwaRecordKey();
ChukwaRecord record = new ChukwaRecord();
this.buildGenericRecord(record, null, -1l, recType);
record.setTime(timestamp);
key.setKey(getKey(timestamp, metrics.getKey()));