Dsco's Journey towards Enhanced Visibility using Logz.io
Dsco’s Journey Towards Enhanced Visibility
"Logz.io is a mission-critical service for us - providing us with a comprehensive monitoring package that our troubleshooting depends on."
Brett Elsmore
DevOps Manager
Customer
Dsco
About Dsco
Dsco is a leading inventory visibility software company headquartered in Lehi, Utah. It simplifies and standardizes the way trading partners connect and exchange data related to product inventory, purchase orders, invoicing, and shipping. Thousands of major retailers and brands use Dsco’s state-of-the-art supply chain technology to expand and increase inventory visibility, build stronger partnerships, and obtain superior operational intelligence and efficiency.
Looking to scale effectively
Dsco’s application is written primarily in Java and is served by Apache web servers running on AWS. To monitor and troubleshoot the application, Dsco initially used graylog for collecting and analyzing the Apache log data and a more manual approach for the application logs. Dsco’s logging strategy is verbose and includes logging debug and info messages, resulting in extremely large datasets. To address this, Dsco explored a more automated and centralized approach.
Dsco’s engineering team tested graylog for Java application logs but concluded that the costs for the required infrastructure on AWS were prohibitive.
After the initial pilot, we quickly understood we needed a solution that was both cost-effective and that could automatically scale with the growth in log data we were expecting.
Brett Elsmore, DevOps Manager at Dsco
Making the move to Logz.io
After exploring alternatives, Dsco selected Logz.io as its primary logging solution. Logz.io’s automatic scaling alleviated concerns over expected growth in log data. Brett stated,
Logz.io’s built-in alerting mechanism and machine learning capabilities suited our approach to modern log analysis, promising to help us identify and mitigate critical events faster and more efficiently.
Dsco’s staging and production environments consist of over 200 AWS instances, each deploying Filebeat as a log forwarder. Using log4j as the logging framework, Dsco’s Java services generated log files tracked by Filebeat and shipped to Logz.io’s listeners.
Eliminating unnecessary logging noise
To ensure that the logging pipeline only ships relevant data, Dsco leveraged Volume Analysis, a machine-learning technology developed by Logz.io to identify recurring log patterns and eliminate noisy logs. A report generated by Volume Analysis helped Dsco determine which logs could be discarded. Logz.io’s customer success team then assisted in implementing REGEX filtering in Filebeat, leading to a more efficient monitoring environment and reduced operational logging costs.
Deploying a multi-layered monitoring system
Dsco’s engineers employ various methods to monitor for critical events. These methods provide the team with a comprehensive safety net to ensure service level agreements (SLAs) are met.
Saved queries in Kibana are used to look for specific exceptions, such as multiple uploads of the same invoice or failed serialization of user-uploaded data objects. Alerts notify the team of unusual occurrences. Dsco supports various APIs for creating, updating, and retrieving objects, with nearly 1 million API calls made daily. Alerts are triggered when any API call exceeds five seconds, sending notifications to PagerDuty for management by the on-call engineer.
Logz.io’s Application Insights, a machine learning technology for identifying new exceptions, reviews and manages events that might go unnoticed. For instance, Application Insights flagged an RDS issue indicating an attempt was made to write to a locked database table, which could have caused faulty order processing and loss of revenue.
On the path to full visibility
Today, Logz.io is used by both the DevOps and development teams at Dsco to analyze over 100 GB of log data daily. Before using Logz.io, Dsco faced challenges with logging large datasets and extracting actionable insights. The solution needed to provide scalability and facilitate a transition from a manual logging approach to an automated, proactive methodology.
Logz.io was chosen for this reason and played a vital role in Dsco's implementation of a modern, centralized, and predictive logging system, enhancing visibility into application performance and significantly reducing troubleshooting time.
The visibility Logz.io has given us has helped us improve our mean time to repair. Logz.io is a mission-critical service, helping us understand context and providing a comprehensive monitoring package we rely on for troubleshooting.
Brett Elsmore, DevOps Manager at Dsco