Introduction
This article explains where logs live on the edge node and various ways to retrieve them: remotely with Edge View, live on the device, and as a full diagnostic bundle. These methods apply to both EVE-KVM and EVE-K, except where a step is noted as specific to the KVM hypervisor. See EVE-OS Logging Overview for more information about logs in general.Prerequisites
- You have the SysManager or SysAdmin role in your enterprise. See Manage Roles.
- You have onboarded a node. See Onboard Nodes.
- To gather logs remotely, you have enabled Edge View for the edge node. See Configure Edge View with GUI, Configure Edge View with CLI, or Configure Edge View (Advanced Method).
- To work live on the device via SSH, you have enabled SSH with your public key.
- To work live on the device via keyboard and monitor, you have re-enabled console access after onboarding. See Manage Nodes with EVE-OS Local UI for the ZCLI commands. Serial and IPMI access do not require this step.
Where Logs Live on the Node
Most logs are under/persist/newlog, with reboot and panic files under /persist. Use the following table to locate a specific type of log.
Gzip file names encode a Unix timestamp in milliseconds. Device logs use
dev.log.<unixms>.gz, application logs use app.<app-uuid>.log.<unixms>.gz, and keep-only application logs carry skipTx., for example app.skipTx.<uuid>.log.<unixms>.gz.
Gather Logs Remotely With Edge View
This method works over the secure Edge View session, so you do not need SSH access or to be on the edge node’s network. Enabling and connecting Edge View (the project policy, the run-script, and the session) is covered in the Edge View articles listed in the prerequisites. This section shows only the log-specific queries you run after you already have the downloaded run-script. For the complete Edge View command set, see the LF Edge EdgeView Commands reference.-
Search recent device and application logs for a term (defaults to the last 30 minutes).
-
View logging statistics per-directory: file counts and time ranges.
-
View the end of the current device log directly.
-
Download all log files for a time window (maximum 30 minutes). The Edge View client saves them to its download directory.
Gather Logs Live on the Device
Use this method when you need a true live tail or need to explore the file system directly.Get a shell on the device
After onboarding, EVE-OS disables keyboard and VGA console access by default. To use the keyboard and monitor method, see Manage Nodes with EVE-OS Local UI for more detail on re-enabling local access Serial and IPMI access are hardware-level and are not affected by these flags.
- Console access through keyboard, serial, or IPMI brings up the EVE-OS (Edge Virtualization Engine) monitor interface, where you can open a debug shell.
- Debug SSH requires the
debug.enable.sshconfiguration item set with your SSH public key, pushed from Edge Infrastructure Services. - From the host shell, run the
eve enter debugcommand to open the Alpine-based debug container, which has/hostfsand/persistavailable and lets you install tools such asapk add jq.
Read the logs
EVE-OS writes one JSON object per log line, so after installingjq you can pipe any of the following commands through jq for readable, filterable output.
Live tail of everything from the in-memory buffer:
Filter by source tag
newlogd tags each log entry with its source in the .source field. Some of the most useful tags to filter on include the following:
pillar.out/pillar.err: pillar agents (zedagent,zedrouter,domainmgr, …); these are the entries that could not be JSON-parsed.wwan: cellular modem.- The following tags are produced by the VM/domain-management (
xen-tools) path used for VM-based apps on EVE-KVM (they do not apply to EVE-K):xen-tools: the domain-management container itself.hypervisor: hypervisor logs.guest_vm-<NAME>/guest_vm_err-<NAME>: VM console stdout / stderr.qemu-dm-<NAME>: QEMU device-model output.qdisk-<VM-ID>: qdisk output.
Collect a Full Diagnostic Bundle
For support tickets or offline analysis, collect logs, status, network, and system information in a single.tar.gz bundle. You can start this from any of the following:
- Edge Infrastructure Services console: Open Infrastructure > Fleet > Nodes, click the node name, click More actions, and select Collect Logs. See Download a Diagnostic Bundle.
- Edge View: run
./run.<edge-node>.<session-id>.edgeview.sh -inst 1 collectinfo. See Configure Edge View with GUI. - On the device: run
collect-info.shfrom the debug shell. See Download a Diagnostic Bundle.
Tune What Gets Logged
To change logging verbosity, the on-disk log quota, or per-application retention, see Set Log Levels.Verify You Have the Logs You Need
- Before downloading with Edge View, confirm the time range and file counts with the
newlogcommand. - After downloading with Edge View, confirm the files are present in the Edge View client’s download directory.
- For a live tail, confirm new entries appear as events occur on the edge node.
Next Steps
EVE-OS Logging Overview
Understand the logging pipeline, log streams, and on-disk storage.
Set Log Levels
Adjust logging verbosity for the device or a specific agent.
Download a Diagnostic Bundle
Gather a full diagnostic bundle from a node using the console or EdgeView.
Configure Edge View with GUI
Enable and connect Edge View for remote node access.