awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
stern avatar

stern/stern

0
View on GitHub↗
4,747 星标·171 分支·Go·Apache-2.0·16 次浏览

Stern

Stern 是一个 Kubernetes 命令行调试工具和日志聚合器,旨在从多个 Pod 和容器中流式传输和过滤日志。它作为日志跟踪实用程序,将来自分布式资源的实时数据整合为单一的、彩色编码的输出。

该工具使用正则表达式来选择 Pod 并过滤日志内容,从而实现特定系统事件的隔离。它自动跟踪资源的生命周期,使用监视机制附加到符合过滤条件的新 Pod,并从活动视图中移除已删除的 Pod。

功能包括按 Kubernetes 元数据、标签和命名空间过滤日志流,以及将输出限制为特定的资源类型(如 Deployment 或 Job)。该实用程序提供用于模板驱动的输出格式化、内容高亮显示以及从标准输入解析本地日志的选项。

Features

  • Log Aggregation - Consolidates real-time log streams from multiple distributed pods and containers into a single output.
  • Container Log Streaming - Provides real-time streaming and filtering of logs from multiple pods and containers within a Kubernetes cluster.
  • Kubernetes Workload Label Filters - Restricts output based on labels, namespaces, or status conditions to isolate specific resources in large environments.
  • Log-Based Debugging - Enables isolating errors across cluster resources using metadata filters and regular expressions.
  • Resource Pattern Selection - Identifies and tracks pods by matching resource names against regular expression patterns for dynamic stream management.
  • Dynamic Resource Watching - Uses the Kubernetes watch API to automatically detect and attach to new pods matching filter criteria.
  • Dynamic Pod Pattern Tracking - Maintains an accurate resource list by selecting pods using regular expressions and automatically tracking new items.
  • Asynchronous Log Streaming - Utilizes asynchronous log streaming to maintain persistent connections to multiple pods simultaneously.
  • Log Event Filters - Isolates relevant information by including or excluding log lines that match specific regular expression patterns.
  • Distributed Log Aggregation - Unifies log streams from multiple distributed Kubernetes resources into a color-coded view.
  • Distributed Monitoring Tools - Provides tools for tracking log output across distributed sets of pods in real time.
  • Log Event Filtering - Isolates relevant system events by filtering log streams based on specific nodes, container states, or pod conditions.
  • Kubernetes Stream Tailing - Streams and filters logs from multiple pods and containers using regular expressions.
  • Log Stream Management - Manages continuous log streams by automatically adding new resources and removing deleted ones from the active view.
  • Deployment Log Filters - Narrows the search scope by restricting log output to specific resource types like deployments or jobs.
  • Namespace-Based Log Filtering - Filters massive amounts of container output by namespaces, labels, and content patterns.
  • Real-Time Application Log Monitoring - Streams data from multiple Kubernetes sources simultaneously with color coding for real-time debugging.
  • Integrated Kubernetes Debugging Tools - Provides a single-interface CLI for streaming logs and monitoring Kubernetes workloads.
  • Log Output Templates - Processes log lines through a customizable engine to apply colors and structure based on metadata.
  • Stream Multiplexing - Aggregates multiple asynchronous log streams from different containers into a single synchronized output stream.
  • Log Output Formatting - Transforms log data into raw text, JSON, or custom templates to control output formatting.
  • Regex-Based Log Filtering - Uses regular expressions to include or exclude specific log content from Kubernetes streams.
  • Log Syntax Highlighting - Accelerates visual scanning by marking specific strings and distinguishing data sources using configurable colors.
  • Command Line Tools - Tails logs from multiple pods and containers simultaneously.

Star 历史

stern/stern 的 Star 历史图表stern/stern 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Stern 的开源替代方案

相似的开源项目,按与 Stern 的功能重合度排序。
  • jorgebastida/awslogsjorgebastida 的头像

    jorgebastida/awslogs

    4,992在 GitHub 上查看↗

    awslogs is a command line interface and terminal-based utility for querying, filtering, and streaming log events from AWS CloudWatch. It functions as a log management tool and cloud-native viewer for navigating log groups and streams. The tool provides capabilities for real-time log monitoring and the extraction of specific fields from JSON-formatted logs to simplify data review. It allows for the isolation of system issues through the use of time offsets, regular expressions, and custom filter patterns. The utility covers log event retrieval and the listing of available log groups and strea

    Python
    在 GitHub 上查看↗4,992
  • pamburus/hlpamburus 的头像

    pamburus/hl

    2,912在 GitHub 上查看↗

    hl is a set of command-line interface tools for filtering, aggregating, streaming, and visualizing structured log data across multiple sources. It functions as a log filter, file aggregator, real-time streamer, and structured log viewer. The project specializes in transforming JSON and logfmt data into human-readable formats for visual analysis. It enables the merging of multiple log files and compressed archives into a single chronologically sorted stream, while supporting live tracking of multiple sources into a unified real-time view. Capabilities include field-based filtering via key-val

    Rustclicommand-line-toolhl
    在 GitHub 上查看↗2,912
  • fluxcd/flux2fluxcd 的头像

    fluxcd/flux2

    7,888在 GitHub 上查看↗

    Flux is a Kubernetes GitOps delivery tool used to automate application deployments by synchronizing cluster state with configurations stored in Git, OCI, or Helm repositories. It functions as a set of controllers that monitor desired state in external sources and continuously reconcile the live cluster to match those definitions. The system distinguishes itself through a multi-cluster management plane that coordinates application delivery across fleets of remote clusters from a central hub. It provides a dedicated mechanism for automated image updates, which scans container registries for new

    Gocontinuous-deliverygitopsgitops-toolkit
    在 GitHub 上查看↗7,888
  • freelensapp/freelensfreelensapp 的头像

    freelensapp/freelens

    5,185在 GitHub 上查看↗

    Freelens is a graphical web dashboard for Kubernetes cluster administration and monitoring. It provides a centralized interface for managing container orchestration environments, featuring a log aggregator for simultaneous multi-pod log viewing, a resource visualizer for mapping system dependencies via force-directed graphs, and a security auditor for reviewing vulnerability reports and certificate expiration dates. The project integrates a generative artificial intelligence operator to automate complex administrative tasks and translate requests into cluster configurations. It further distin

    TypeScriptcloud-nativecontainersdevops
    在 GitHub 上查看↗5,185
查看 Stern 的所有 30 个替代方案→

常见问题解答

stern/stern 是做什么的?

Stern 是一个 Kubernetes 命令行调试工具和日志聚合器,旨在从多个 Pod 和容器中流式传输和过滤日志。它作为日志跟踪实用程序,将来自分布式资源的实时数据整合为单一的、彩色编码的输出。

stern/stern 的主要功能有哪些?

stern/stern 的主要功能包括:Log Aggregation, Container Log Streaming, Kubernetes Workload Label Filters, Log-Based Debugging, Resource Pattern Selection, Dynamic Resource Watching, Dynamic Pod Pattern Tracking, Asynchronous Log Streaming。

stern/stern 有哪些开源替代品?

stern/stern 的开源替代品包括: jorgebastida/awslogs — awslogs is a command line interface and terminal-based utility for querying, filtering, and streaming log events from… pamburus/hl — hl is a set of command-line interface tools for filtering, aggregating, streaming, and visualizing structured log data… fluxcd/flux2 — Flux is a Kubernetes GitOps delivery tool used to automate application deployments by synchronizing cluster state with… freelensapp/freelens — Freelens is a graphical web dashboard for Kubernetes cluster administration and monitoring. It provides a centralized… tstack/lnav — lnav is a terminal-based log viewer and analyzer designed for aggregating, filtering, and analyzing multiple log files… facebookarchive/scribe — Scribe is a distributed log aggregation system designed to collect and route real-time log data from numerous servers…