Skip to content
William Quintal edited this page Dec 19, 2025 · 3 revisions

LogViewer Documentation

Welcome to the LogViewer documentation! LogViewer is a unified CLI tool for querying logs from multiple sources with a single, consistent interface.

What is LogViewer?

LogViewer solves the problem of managing logs scattered across multiple systems—Kubernetes, CloudWatch, Splunk, Docker, SSH servers, and more. Instead of learning different CLI tools and query syntaxes for each platform, LogViewer provides:

  • One CLI for all log sources - Query K8s, Docker, Splunk, OpenSearch, CloudWatch, and SSH with the same commands
  • Unified query syntax - Learn once, use everywhere
  • Powerful field extraction - Turn unstructured logs into searchable fields using regex
  • Flexible output formatting - Custom templates for human-readable or machine-parseable output
  • AI integration - Use as an MCP server with Claude, Copilot, or Gemini for natural language log queries

Quick Navigation

Getting Started

  • Installation - Install via Homebrew, Scoop, Docker, or build from source
  • CLI-Usage - Basic usage, time filtering, and output formatting
  • Configuration - Set up your config file with clients and contexts

Core Features

Log Sources (Backends)

AI Integration

Help

Example: Your First Query

# Install
brew install bascanada/tap/logviewer

# Interactive configuration wizard
logviewer configure

# Query logs from your configured context
logviewer -i my-app --last 10m query log

Getting Help

License

LogViewer is open source under the GNU General Public License v3.0.

Home

Getting Started

Core Features

Log Sources

AI Integration

Help


GitHub | Issues

Clone this wiki locally