https://devtools.solutions/tools/logs/k8s-log-format.html

Format Kubernetes Logs

Parse and reformat Kubernetes pod log output, including structured JSON log lines.


    

Example input/output

Input: 2024-01-01T00:00:00.000Z INFO Starting pod my-app-xyz

Output: Timestamp, level, message in a clean formatted view

How it works

This tool detects whether each log line is structured JSON (from a JSON logger) or plain text, then formats both consistently. JSON log lines have their fields extracted and displayed as key-value pairs. Processing runs in your browser.

Common use cases

Related tools