logmerger: Browse Multiple Logs on a Shared Timeline

Summary
logmerger combines timestamped log files into one chronological view, with an interactive terminal browser and options to export merged output. It is useful for tracing events across services or files when their timestamps use supported formats.
At a glance
- Language
- Python
- License
- MIT
- Stars
- 261
- Forks
- 13
- Added to OSRepos
- October 12, 2025
- Last analyzed
- October 3, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
logmerger is a Python command-line utility for reading several log files as one timeline. Instead of switching between files to reconstruct what happened, users can inspect events from each source side by side in a terminal interface or produce merged output for further review.
It is aimed at developers and operators diagnosing incidents across multiple components. It also handles related formats such as compressed text logs, CSV, JSONL, and experimental PCAP input, and can attach untimestamped continuation lines such as tracebacks to the preceding timestamped entry.
Key Features
- Interleaves entries from multiple files according to their timestamps.
- Provides a browsable terminal UI, enabled by default, with interactive help.
- Writes merged output to stdout or a file, including Markdown output for
.mdfiles. - Exports merged log data to CSV.
- Supports common timestamp layouts and custom timestamp formats.
- Filters output by start and end times, including relative time windows.
- Reads text logs, gzip-compressed logs, CSV, JSONL, and experimental PCAP files.
- Offers options for inline output, line numbers, and ignoring lines without timestamps.
Use Cases
- Developers investigating a request that generated entries in several service logs can compare events in timestamp order.
- Operators diagnosing a production incident can narrow multiple log files to a specific time window.
- Engineers reviewing rotated, compressed, or structured logs can bring supported inputs into one view.
- Teams documenting an investigation can export the merged timeline to a file or CSV for later analysis.
Project Facts
- Language: Python
- License: MIT
- Stars: 261
- Forks: 13
- Topics: none listed
- Archived: no
Getting Started
Install from PyPI and pass the log files to the command:
pip install logmerger
logmerger app.log worker.log
See the README for supported timestamp formats, options, and PCAP installation details.
Considerations
- Merging depends on timestamps that match a supported or user-supplied format. Check the README if your logs use a different convention.
- PCAP support is explicitly experimental and requires the optional
logmerger[pcap]installation. - The project is a terminal utility, so its main interactive experience is a text-based UI rather than a graphical log viewer.
- The provided project information does not specify performance limits or guarantees for very large files.
Source repository
Open the original repository on GitHub.
14 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

web-design: Create Consistent Web Pages with a Claude Code Skill
October 3, 2026
web-design is a Claude Code skill that turns product briefs, reference URLs, or screenshots into an editable design specification before generating web code. It is suited to developers and designers who want a repeatable, spec-led workflow for building consistent pages.

oomwoo: Build a DIY Robot Vacuum
October 2, 2026
OOMWOO is a planned, hackable robot vacuum built around Raspberry Pi, ROS2 and 2D LiDAR. It is aimed at makers who want to build and customize a locally controlled vacuum, but its hardware and build instructions are still in development.

shepherd: Supervise Agents with Reversible Execution Traces
October 2, 2026
Shepherd records agent work as inspectable, reversible execution traces and keeps changes as proposals for review. It is aimed at developers building systems that supervise, replay, or manage the work of other agents.

agent-anvil: Test AI Agent Tool Use in CI
October 1, 2026
Agent Anvil evaluates tool-using AI agents through scenario-based runs, trace checks, and optional semantic grading. It helps teams catch unsafe or incorrect tool behavior before it reaches production.