Managing Variable Log Retention

4 MIN READ
MIN READ

As systems become more complex and distributed, the total amount of machine data put off by those systems continues to skyrocket. While teams may need access to an ever-increasing scope of machine data to gain insights into their increasingly complicated systems, that same need to access an increasingly large amount of data also creates cost concerns. Those concerns can grow into cost emergencies quickly. Additionally, choosing a limit on the types of logs ingested into observability systems for the sake of cost comes with a risk of not being able to identify your issue fast enough, or even at all, attached. These factors create a bit of a problem when analyzing an increasingly large amount of log data meets cost concerns. 

Variable Retention and Log Data Restoration from Mezmo provides an interesting fix to that issue with two features that are a bit like peanut butter and jelly for your logging issues.

Not All Data is Needed All the Time

Depending on your situation, you may agree or disagree with that statement. That said, for the vast majority of machine data users, that statement will be true - you don’t need all your data all the time. Before we go any further with this blog, let’s talk about two types of storage solutions for your data and why you would want them. The first kind of storage is known as “hot storage.” Hot storage is extremely accessible storage with low capacity where you can retrieve data near instantly. The drawback to using hot storage is that it also has high costs (you’re getting what you’re paying for!). You should use hot storage for data crucial to your business - and in some cases, that includes logs. On the other side of the spectrum is cold storage. Cold storage is storage that is “cheap and deep.” It is typically kept far away from the warmth of a CPU (thus, the name cold storage), has massive capacity, and is used for a longer-term solution. Cold storage is not as accessible, but it’s also more cost-effective - kind of like that pile of papers you have sitting somewhere in your house that contains your mortgage, car loan paperwork, tax returns, and other things that you probably shouldn’t throw out. You can also use this method of storage for logs. 

The easiest way to think about hot vs. cold storage is like a checking account and an investment account. Checking accounts are for money that you might need right now. Your returns might be lower, but you can get your money whenever you need it. If you put your money in an investment account, your returns might be better, but it’s usually a longer-term solution where funds are less liquid. The same is generally valid for hot vs. cold storage options, and all the major cloud providers offer both hot and cold storage solutions.

Variable Retention

Now that we've had a primer on hot vs cold storage, let’s talk about Variable Retention. Variable Retention is a Mezmo feature that allows users to select the time window of the log data ingested into Mezmo’s UI instead of limiting the type of log data ingested into Mezmo’s UI. Mezmo allows users to select a retention window anywhere from 7 to 30 days, which we believe will cover most Mezmo customers’ needs. 

A key advantage to Mezmo’s Variable Retention Rules is that they allow users to keep their log data in hot storage for as long as they need it - up to 30 days! There’s an incredibly long list of the reasons someone would want to keep their logging data inside Mezmo’s UI for a long time. Maybe you’re dealing with compliance issues (Mezmo is HIPPA, ISO 2700:2013, SOC 2, GDP, and PCI compliant!), or you work in an environment where you’d like the ability to review log data for a longer time. 

Conversely, someone may want their retention window to be smaller, most notably to reduce spending. If a user does not need a larger retention window, why pay to keep their logs in hot storage, right? With Mezmo’s Variable Retention rules, you have a choice.

Log Data Restoration

Log Data Restoration creates a yin-yang relationship with Variable Retention to keep logging cost overruns in control. If you’re a skeptical person, you’ve probably noticed that the biggest problem with Mezmo’s Variable Retention is that all of your log data is stored in hot storage, creating cost overruns. On top of that, where does your log data go when the information is outside your retention window?  Log Data Restoration allows users to store their older log data in cold storage - like in an AWS S3 bucket or other means of Object storage - away from Mezmo and then recall the data later if or when they need it. You can read more about Log Data Restoration in this blog post on the topic here. Log Data Restoration from Mezmo allows users to control their log data, even if it is data from outside their variable retention window. Need log data outside of your window? Recall the data back into the Mezmo UI using Log Data Restoration. Log Data Restoration brings greater control over your log data while allowing you to save money by keeping that old log data in cold storage. 

Better Together

To make the most out of Variable Retention Rules from Mezmo, you will want to pair the feature with Log Data Restoration for a yin-yang effect on cost overruns caused by machine data. If you don’t already have access to these features in your Mezmo account or are new to Mezmo altogether, we encourage you to reach out to Mezmo at outreach@mezmo.com.

Table of Contents

    Share Article

    RSS Feed

    Next blog post
    You're viewing our latest blog post.
    Previous blog post
    You're viewing our oldest blog post.
    What is Active Telemetry
    Launching an agentic SRE for root cause analysis
    Paving the way for a new era: Mezmo's Active Telemetry
    The Answer to SRE Agent Failures: Context Engineering
    Empowering an MCP server with a telemetry pipeline
    The Debugging Bottleneck: A Manual Log-Sifting Expedition
    The Smartest Member of Your Developer Ecosystem: Introducing the Mezmo MCP Server
    Your New AI Assistant for a Smarter Workflow
    The Observability Problem Isn't Data Volume Anymore—It's Context
    Beyond the Pipeline: Data Isn't Oil, It's Power.
    The Platform Engineer's Playbook: Mastering OpenTelemetry & Compliance with Mezmo and Dynatrace
    From Alert to Answer in Seconds: Accelerating Incident Response in Dynatrace
    Taming Your Dynatrace Bill: How to Cut Observability Costs, Not Visibility
    Architecting for Value: A Playbook for Sustainable Observability
    How to Cut Observability Costs with Synthetic Monitoring and Responsive Pipelines
    Unlock Deeper Insights: Introducing GitLab Event Integration with Mezmo
    Introducing the New Mezmo Product Homepage
    The Inconvenient Truth About AI Ethics in Observability
    Observability's Moneyball Moment: How AI Is Changing the Game (Not Ending It)
    Do you Grok It?
    Top Five Reasons Telemetry Pipelines Should Be on Every Engineer’s Radar
    Is It a Cup or a Pot? Helping You Pinpoint the Problem—and Sleep Through the Night
    Smarter Telemetry Pipelines: The Key to Cutting Datadog Costs and Observability Chaos
    Why Datadog Falls Short for Log Management and What to Do Instead
    Telemetry for Modern Apps: Reducing MTTR with Smarter Signals
    Transforming Observability: Simpler, Smarter, and More Affordable Data Control
    Datadog: The Good, The Bad, The Costly
    Mezmo Recognized with 25 G2 Awards for Spring 2025
    Reducing Telemetry Toil with Rapid Pipelining
    Cut Costs, Not Insights:   A Practical Guide to Telemetry Data Optimization
    Webinar Recap: Telemetry Pipeline 101
    Petabyte Scale, Gigabyte Costs: Mezmo’s Evolution from ElasticSearch to Quickwit
    2024 Recap - Highlights of Mezmo’s product enhancements
    My Favorite Observability and DevOps Articles of 2024
    AWS re:Invent ‘24: Generative AI Observability, Platform Engineering, and 99.9995% Availability
    From Gartner IOCS 2024 Conference: AI, Observability Data, and Telemetry Pipelines
    Our team’s learnings from Kubecon: Use Exemplars, Configuring OTel, and OTTL cookbook
    How Mezmo Uses a Telemetry Pipeline to Handle Metrics, Part II
    Webinar Recap: 2024 DORA Report: Accelerate State of DevOps
    Kubecon ‘24 recap: Patent Trolls, OTel Lessons at Scale, and Principle Platform Abstractions
    Announcing Mezmo Flow: Build a Telemetry Pipeline in 15 minutes
    Key Takeaways from the 2024 DORA Report
    Webinar Recap | Telemetry Data Management: Tales from the Trenches
    What are SLOs/SLIs/SLAs?
    Webinar Recap | Next Gen Log Management: Maximize Log Value with Telemetry Pipelines
    Creating In-Stream Alerts for Telemetry Data
    Creating Re-Usable Components for Telemetry Pipelines
    Optimizing Data for Service Management Objective Monitoring
    More Value From Your Logs: Next Generation Log Management from Mezmo
    A Day in the Life of a Mezmo SRE
    Webinar Recap: Applying a Data Engineering Approach to Telemetry Data
    Dogfooding at Mezmo: How we used telemetry pipeline to reduce data volume
    Unlocking Business Insights with Telemetry Pipelines
    Why Your Telemetry (Observability) Pipelines Need to be Responsive
    How Data Profiling Can Reduce Burnout
    Data Optimization Technique: Route Data to Specialized Processing Chains
    Data Privacy Takeaways from Gartner Security & Risk Summit
    Mastering Telemetry Pipelines: Driving Compliance and Data Optimization
    A Recap of Gartner Security and Risk Summit: GenAI, Augmented Cybersecurity, Burnout
    Why Telemetry Pipelines Should Be A Part Of Your Compliance Strategy
    Pipeline Module: Event to Metric
    Telemetry Data Compliance Module
    OpenTelemetry: The Key To Unified Telemetry Data
    Data optimization technique: convert events to metrics
    What’s New With Mezmo: In-stream Alerting
    How Mezmo Used Telemetry Pipeline to Handle Metrics
    Webinar Recap: Mastering Telemetry Pipelines - A DevOps Lifecycle Approach to Data Management
    Open-source Telemetry Pipelines: An Overview
    SRECon Recap: Product Reliability, Burn Out, and more
    Webinar Recap: How to Manage Telemetry Data with Confidence
    Webinar Recap: Myths and Realities in Telemetry Data Handling
    Using Vector to Build a Telemetry Pipeline Solution
    Managing Telemetry Data Overflow in Kubernetes with Resource Quotas and Limits
    How To Optimize Telemetry Pipelines For Better Observability and Security
    Gartner IOCS Conference Recap: Monitoring and Observing Environments with Telemetry Pipelines
    AWS re:Invent 2023 highlights: Observability at Stripe, Capital One, and McDonald’s
    Webinar Recap: Best Practices for Observability Pipelines
    Introducing Responsive Pipelines from Mezmo
    My First KubeCon - Tales of the K8’s community, DE&I, sustainability, and OTel
    Modernize Telemetry Pipeline Management with Mezmo Pipeline as Code
    How To Profile and Optimize Telemetry Data: A Deep Dive
    Kubernetes Telemetry Data Optimization in Five Steps with Mezmo
    Introducing Mezmo Edge: A Secure Approach To Telemetry Data
    Understand Kubernetes Telemetry Data Immediately With Mezmo’s Welcome Pipeline
    Unearthing Gold: Deriving Metrics from Logs with Mezmo Telemetry Pipeline
    Webinar Recap: The Single Pane of Glass Myth
    Empower Observability Engineers: Enhance Engineering With Mezmo
    Webinar Recap: How to Get More Out of Your Log Data
    Unraveling the Log Data Explosion: New Market Research Shows Trends and Challenges
    Webinar Recap: Unlocking the Full Value of Telemetry Data
    Data-Driven Decision Making: Leveraging Metrics and Logs-to-Metrics Processors
    How To Configure The Mezmo Telemetry Pipeline
    Supercharge Elasticsearch Observability With Telemetry Pipelines
    Enhancing Grafana Observability With Telemetry Pipelines
    Optimizing Your Splunk Experience with Telemetry Pipelines
    Webinar Recap: Unlocking Business Performance with Telemetry Data
    Enhancing Datadog Observability with Telemetry Pipelines
    Transforming Your Data With Telemetry Pipelines
    6 Steps to Implementing a Telemetry Pipeline
    Webinar Recap: Taming Data Complexity at Scale