# GoogleCloudPlatform/khi

A log viewer for Kubernetes troubleshooting

Repository: https://github.com/GoogleCloudPlatform/khi
Canonical: https://ross.abutalabs.com/products/khi
Language: Go
License: Apache-2.0
License Family: permissive
Topics: google-cloud-platform, kubernetes, observability, visualizer, logging, troubleshooting
Last push: 2026-08-26T08:45:56+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 42
- inputs: {"age_days": 589, "days_push": 7, "days_rel": 19, "gap_med": 5.0, "n_releases_24m": 51}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2082, forks 97 (observed 2026-08-28T04:06:11.736432+00:00)

## What it is
Kubernetes History Inspector (KHI) is a log visualization tool that turns Kubernetes cluster logs into interactive timeline and topology views for troubleshooting. It is agentless and can run via Docker, including in Google Cloud Shell.

## Use cases
- troubleshoot kubernetes cluster issues from logs
- visualize kube-apiserver audit logs as a timeline
- see resource status changes and manifest diffs over time
- inspect relationships between kubernetes resources
- debug issues spanning multiple cluster components
- view gke cluster logs without installing agents

## When to choose
- you need to correlate logs across many Kubernetes components during incident investigation
- you want an agentless viewer for audit logs and Cloud Logging data
- you prefer a visual timeline/topology over raw log grep

## When to avoid
- you need real-time live log tailing rather than historical inspection
- your logs are not from Kubernetes or Google Cloud Logging sources
- you want a lightweight CLI log filter instead of a web UI

## Facets
- artifact type: application
- maturity: active
- function: logging, data-visualization, monitoring, search-engine
- domain: monitoring, developer-tools
- platform: self-hosted, windows
- tags: kubernetes, log-viewer, troubleshooting, audit-logs, timeline, google-cloud-platform, agentless, containers, docker, web-server, linux, macos

## Member repositories
- GoogleCloudPlatform/khi (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.736432+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:54.821885+00:00, confidence not recorded.
  - readme: https://github.com/GoogleCloudPlatform/khi (fetched 2026-08-28T04:06:11.736432+00:00, sha a5a73bf8514f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
