Data Processing Delays - Reporting Tools Affected

Incident Report for logz.io

Postmortem

On Wednesday, March 16, several of our customers experienced delays in log processing. Newer logs were not processed on time, causing a service interruption. We apologize for this service interruption and wanted to share our root cause analysis with you.

At 11:00 GMT, an alert was triggered, indicating a slowdown in data processing. Upon further investigation, the on-call team realized that the Logz.io distributed data parsing and ingestion system had significantly slowed down and was producing a slow output. Further investigation showed that specific logs had been exposed to a bug in the Logz.io log parsers, causing the severe slowdown.

The Logz.io log parsers work in a distributed manner at a very high scale, making the task of finding the exact logs that contain information on the reason for the slowdown a complicated task.

At 11:25 GMT, the team started moving customers to different queues within our queuing system, allowing most of our customers to receive updated logs. Our R&D teams rewrote one of the log parsers to allow for the detection of those logs that contained the relevant information. This tasks required several iteration until it worked and was able to move to production.

At 18:20 GMT, this code was deployed and the problematic log type was detected and blocked.

By that time, the queuing system held a queue of billions of logs, it took another 1-2 hours until all customers were receiving told log data.

We continued to monitor all systems closely throughout the following hours, gathering as much electronic and human information about the incident as possible for further analysis and improvement.

Logz.io is having multiple layers of availability and backups, all data was retained and ingested back into the system.

Conclusions and Action Items 1. The log parsing bug was detected and fixed.

  1. There was a need to develop tools to quickly isolate log lines that were causing the parsing issues and block them from interfering with the ongoing ingestion process. These tools were developed, and if such parsing bugs will ever occur again in the future, they will be isolated easily.

  2. We have enhanced our internal automation procedure to isolate any instances of slow log processing so that we can limit the instances only to those specific customers. This will ensure that no one else would be affected.

Posted Apr 05, 2016 - 16:21 IDT

Resolved

This incident has been resolved.
Posted Mar 17, 2016 - 21:25 IST

Monitoring

Since yesterday at 18:30 GMT some customers have been facing severe delays in log processing. All of our ingestion engines are up to date and all customers should be seeing up to date data. We are continuing close supervision and monitoring of all systems, and will publish a full root cause analysis once postmortem is completed.
We're sorry for the inconvenience and If you have any questions, please contact support@logz.io.
Posted Mar 17, 2016 - 09:42 IST

Update

All customers should see recent data. We are now filling the gaps.
Posted Mar 17, 2016 - 06:08 IST

Update

We're still working to make sure data is updated to all customers.
Posted Mar 17, 2016 - 03:18 IST

Identified

We've identified the issue and most users are no longer have delays. We're working to resolve it for the rest of the users.
Posted Mar 16, 2016 - 21:31 IST

Investigating

Our data processing infrastructure is running behind which is causing inaccuracies in the reporting tools. No data has been lost and the system should be caught up shortly.
Posted Mar 16, 2016 - 13:04 IST