How Custom Parsing Can Boost Developer Productivity

Ask about this page
Perplexity
Grok

As site reliability engineers (SREs), we need the right tools to enable developers to succeed. We want to work in harmony with developers, even if developers feel that we saddle them with extra work. Mezmo, formerly LogDNA, can help bring together operations and development by centralizing logs in one place. Developers often find themselves dealing with extensive processes to access the logs needed to do their jobs. Adopting a log management solution that both development teams and operations teams use as a single source of truth ensures that teams have the necessary information to streamline troubleshooting and debugging workflows. 

 

However, centralizing logs into a single platform is not enough—they need to be easy to understand and take action on. Whether we are dealing with nonstandard formats, text-based logs, or accidentally broken structures, unparsed logs can appear to be impossible to work with. Mezmo's proprietary message bus ensures incoming logs are automatically indexed and parsed, with automatic parsing for standard log formats and custom parsing templates for everything else. Mezmo makes structured and unstructured logs easier to understand for both developers and SREs.


Most languages and platforms use popular logging frameworks that ensure that logs are relatively standardized. From platforms like AWS and Heroku to languages like Golang and Ruby, log data will automatically be parsed upon ingestion without needing any additional configuration. These parsed fields become instantly actionable and can be used to search, filter, visualize, and view logs in real time. Mezmo further empowers us with boards, graphs, alerts, and custom dashboards.
 

Integrating Mezmo into an application provides near-instant access to all the features it has to offer. For those exceptional cases that don’t match standard logging formats, it’s simple to add custom parsing. 

Custom Log Parsing

SREs and IT Ops professionals can easily configure custom parsing templates through Mezmo to extract value out of any log line. Getting logs to meet a specific standardized format is often not a trivial or quick task. Engineers are usually faced with two options:

  1. Submit a task into the developer’s queue to refactor the logs from the application with an unknown turnaround time.
  2. In some particular cases, they have the possibility of writing complex regular expressions in an attempt to get some value out of the loglines.

Mezmo takes a different approach. We know developers want to focus on feature development and not technical debt so we’ve given the operational side of the house a  GUI-driven way to quickly create custom parsers for any logline based on any given query.

To begin a template, we must either enter a sample line or select one from previous logs processed by the platform. Using a sample line from a log as a reference, we can then visually construct parsing rules with given operators. We can extract values by or in-between delimiters, much like regular expressions. Regular expressions are complicated to write and inefficient to run, let alone frustrating to learn for developers of any experience. Mezmo's straightforward custom parsing tool helps us deliver the best data to development teams faster.

Extracting Relevant Data

Custom parsing ensures that value can be extracted from all data, structured or not. Once parsed, fields can be utilized to ensure data fidelity and visibility throughout all environments and teams.. With organized and accessible application data, it’s easier to spot trends or troubling issues as they occur rather than months later. With Mezmo, when problems arise devs can quickly find the root cause and deploy a fix.


For example, MANTL, a company that modernizes bank account opening, has seen custom parsing pay dividends in their implementation. To streamline their operations, they decided to standardize their logs and shift focus to JSON-based logging. To their dismay, most logging providers didn’t support this format and their custom needs were causing more headaches than the logs were providing information. They started using Mezmo and instantly saw the value of automatic and custom parsing. Now, every engineer at MANTL can easily access their application data and make sense of it. This has empowered their team to iterate quickly with more confidence and less frustration, giving them a massive competitive edge.

Conclusion

Mezmo can supercharge the DevOps workflow. We understand that data comes in all shapes and forms, and sometimes manipulating that data is out of your immediate control. Mezmo saves you time by automatically parsing most major log types out of the box, and gives your Ops teams the flexibility to quickly and intuitively extract value out of any non-standard formats. 

Already using Mezmo and want to get more out of your experience? Reach out to our Solutions Engineering team at sales-eng@mezmo.com. 
Still searching for an intuitive log management solution? Start your fully-featured 14-day free trial of Mezmo today.

Table of contents

    More articles

    How to Reduce Log Volume Without Losing Visibility
    How to Reduce Log Volume Without Losing Visibility
    Log Management
    What Is Log Rehydration? Understanding the Process and Benefits
    What Is Log Rehydration? Understanding the Process and Benefits
    Log Management
    Log Metrics: What are they? How can they be used? What insights can be garnered at scale?
    Log Metrics: What are they? How can they be used? What insights can be garnered at scale?
    Log Management
    What is MultiCloud Monitoring & Management?
    What is MultiCloud Monitoring & Management?
    Log Management
    Live Tail: What It Is, Why It’s Useful, How To Use It
    Live Tail: What It Is, Why It’s Useful, How To Use It
    Log Management
    Log Data: What it is and why it matters
    Log Data: What it is and why it matters
    Log Management
    Istio Logging 101
    Istio Logging 101
    Log Management
    How to Use JSON Logs
    How to Use JSON Logs
    Log Management
    Understanding and Leveraging AWS Cloudwatch Logs
    Understanding and Leveraging AWS Cloudwatch Logs
    Log Management
    What Is a Tail Log?
    What Is a Tail Log?
    Log Management
    How to Use S3 Access Logs
    How to Use S3 Access Logs
    Log Management
    Benefits of Data Logging
    Benefits of Data Logging
    Log Management
    What is Real-time Log Monitoring?
    What is Real-time Log Monitoring?
    Log Management
    Managing Digital Compliance During Digital Transformation
    Managing Digital Compliance During Digital Transformation
    Log Management
    A Comprehensive Guide to Kubernetes Monitoring Tools
    A Comprehensive Guide to Kubernetes Monitoring Tools
    Log Management
    The Role of Infrastructure Monitoring in DevOps
    The Role of Infrastructure Monitoring in DevOps
    Log Management
    5 Practical Ways to Build a Secure CI/CD Pipeline
    5 Practical Ways to Build a Secure CI/CD Pipeline
    Log Management
    Why and How to Analyze Deployment Health Through CI/CD Logs
    Why and How to Analyze Deployment Health Through CI/CD Logs
    Log Management
    What is Application Lifecycle Management
    What is Application Lifecycle Management
    Log Management
    What Is A Real-Time Dashboard?
    What Is A Real-Time Dashboard?
    Log Management
    Log Indexing and Rotation for Optimized Archival
    Log Indexing and Rotation for Optimized Archival
    Log Management
    What is Log Rotation? How Does it Work?
    What is Log Rotation? How Does it Work?
    Log Management
    Logging for Application Security
    Logging for Application Security
    Log Management
    How Do You Manage Logs?
    How Do You Manage Logs?
    Log Management
    7 Best Practices for Log Management and Analytics
    7 Best Practices for Log Management and Analytics
    Log Management
    Enhancing Communication Across Your Teams With Logging
    Enhancing Communication Across Your Teams With Logging
    Log Management
    Which Log Files Should Users Onboard to Build an Observability Platform?
    Which Log Files Should Users Onboard to Build an Observability Platform?
    Log Management
    What Information Does Log Aggregation Capture?
    What Information Does Log Aggregation Capture?
    Log Management
    The Key Benefits of Log Data
    The Key Benefits of Log Data
    Log Management
    Planning Your Log Collection
    Planning Your Log Collection
    Log Management
    Capturing the Most Critical Information Within Your Logs
    Capturing the Most Critical Information Within Your Logs
    Log Management
    The Importance of Data Privacy and Confidentiality for Log Management
    The Importance of Data Privacy and Confidentiality for Log Management
    Log Management
    SOC 2 and its Benefits
    SOC 2 and its Benefits
    Log Management
    Logging for Microservices
    Logging for Microservices
    Log Management
    System Logging Best Practices
    System Logging Best Practices
    Log Management
    Why HIPAA and Compliance Matters to Logging
    Why HIPAA and Compliance Matters to Logging
    Log Management
    Application Security and Compliance through Logging
    Application Security and Compliance through Logging
    Log Management
    Log Management Compliance for Saas Applications
    Log Management Compliance for Saas Applications
    Log Management
    What is Log Aggregation? Log Aggregation Explained
    What is Log Aggregation? Log Aggregation Explained
    Log Management
    What is Log Analysis?
    What is Log Analysis?
    Log Management
    What to Look for in a HIPAA-Compliant Log Management Tool
    What to Look for in a HIPAA-Compliant Log Management Tool
    Log Management
    What is Structured Logging?
    What is Structured Logging?
    Log Management
    Why Is Log Management Important?
    Why Is Log Management Important?
    Log Management
    Top Use Cases for Log Analysis
    Top Use Cases for Log Analysis
    Log Management