eve-kvm:eve-logs
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| eve-kvm:eve-logs [2026/06/28 18:02] – created mc | eve-kvm:eve-logs [2026/06/30 16:19] (current) – mc | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| ===== Method 1: Edge-View (remote, no shell) ===== | ===== Method 1: Edge-View (remote, no shell) ===== | ||
| **Preferred.** Works over the secure session — no SSH, no being on the device | **Preferred.** Works over the secure session — no SSH, no being on the device | ||
| - | network. Full details on [[eve-kvm:logs]]; the essentials: | + | network. Full details on [[edge-view:log-gathering]]; the essentials: |
| <code bash> | <code bash> | ||
| Line 62: | Line 62: | ||
| Getting a shell: | Getting a shell: | ||
| - | |||
| * **Console** — keyboard / serial / IPMI brings up the EVE monitor TUI, from which you can drop to a debug shell. | * **Console** — keyboard / serial / IPMI brings up the EVE monitor TUI, from which you can drop to a debug shell. | ||
| * **Debug SSH** — set the config item '' | * **Debug SSH** — set the config item '' | ||
| + | * **Debug container** — from the host/dom0 shell, '' | ||
| - | Once you have the shell: | + | EVE log entries are **one JSON object per line**, so once '' |
| + | Once you have the shell: | ||
| ^ Command ^ What it does ^ | ^ Command ^ What it does ^ | ||
| | <code bash>/ | | <code bash>/ | ||
| Line 76: | Line 77: | ||
| | <code bash>cat / | | <code bash>cat / | ||
| - | Useful **source tags** to grep for (set per container/domain by newlogd): | + | Readable output with '' |
| + | <code bash> | ||
| + | # pretty-print every live entry | ||
| + | / | ||
| + | # pull just the human-readable message text | ||
| + | / | ||
| + | |||
| + | # only errors, from the persisted device log | ||
| + | tail -F / | ||
| + | |||
| + | # decompress a gzip and pretty-print it | ||
| + | zcat / | ||
| + | </ | ||
| + | |||
| + | Useful **source tags** to grep for (set per container/ | ||
| * '' | * '' | ||
| * '' | * '' | ||
| Line 83: | Line 98: | ||
| * '' | * '' | ||
| + | You can combine the tag filter with '' | ||
| + | <code bash> | ||
| + | / | ||
| + | </ | ||
| ===== Method 3: Full Diagnostic Bundle (collect-info) ===== | ===== Method 3: Full Diagnostic Bundle (collect-info) ===== | ||
| For support tickets or offline analysis, grab the whole picture in one '' | For support tickets or offline analysis, grab the whole picture in one '' | ||
| Line 123: | Line 142: | ||
| * Log levels & quotas: [[https:// | * Log levels & quotas: [[https:// | ||
| * ZEDEDA — Set Log Levels: [[https:// | * ZEDEDA — Set Log Levels: [[https:// | ||
| - | * Sibling pages: [[eve-kvm: | + | * Sibling pages: [[eve-kvm:eve-logs]] (Edge-View live logs), [[eve-kvm: |
eve-kvm/eve-logs.1782669729.txt.gz · Last modified: by mc
