Logs and reports · Qarvix

Audit log, device log, and reports

Logs and reports help you understand what happened in a Qarvix mesh: who changed settings, which devices connected, when configuration was applied, and what you can show to operations, support, or a manager.

Without logs, remote access turns into a set of manual actions. With logs, you can see who did what and exactly when a problem started.

In short

Audit log

The audit log answers the question: who changed the state of the system.

It's important to see events like:

The audit log matters especially for service companies. It helps confirm who did the work, when access changed, and what actions preceded a client's request.

Device log

The device log shows what happened with a specific router, agent, or network member.

Useful events:

The device log helps separate an access problem from a configuration problem. For example, if the agent receives configuration but the LAN is unreachable, it's likely worth looking at routing, firewall, or ACL.

Connection events

For operations, it's not just errors that matter, but regular online/offline events too.

Check:

If a device connects over a regular SIM card, brief connectivity drops can be related to mobile network quality. The log helps tell these apart from configuration errors.

Reports

Reports are needed for regular operations and for talking with non-technical project stakeholders.

Typical questions a report should answer:

For a manager, a report shows not just "the VPN works," but manageability: sites are visible, access is controlled, actions are reviewable.

Reports for the service team

The service team usually needs:

A report like this helps plan work and review requests faster.

Reports for a client or manager

A client or manager usually doesn't need WireGuard and WSS details.

It's more useful to show:

Wording should be clear without deep networking knowledge.

Incident review

During an incident, it's important to gather the chain of events.

Order:

  1. Identify the site, network, and device.
  2. Check the audit log for the period before the incident.
  3. Look at changes to ACL, routes, users, and tokens.
  4. Open the device log.
  5. Check online/offline status, heartbeat, and the WireGuard handshake.
  6. Compare the timing of changes with the timing of the complaint.
  7. Check reports or exports for the period.
  8. Record the conclusion and next steps.

This approach helps you look at the sequence of events instead of arguing about "who changed what."

Contractor oversight

If a contractor gets access to a site, logs should help you check:

This matters especially if the contractor is working with cameras, PLCs, POS terminals, or device APIs.

What to record in reports

A minimal set for an operational report:

Block What to include
Sites name, organization, network
Devices name, type, VPN IP, status, last seen
Versions model, firmware, agent
Routes LAN subnets, gateway, purpose
Access users, roles, temporary access
Events connections, errors, configuration changes
Risks offline devices, outdated agents, subnet overlaps

The report format can be adapted to the client: a short management version and a detailed technical version.

Common situations

A user says they "didn't change anything"

Check the audit log: role, ACL, route, token, and network changes.

A device suddenly went offline

Check the device log, the time of the last heartbeat, the WireGuard handshake, and mobile network or firewall events.

After a route change, the LAN is unreachable

Check whether the agent applied the configuration, whether the route exists on the network, whether ACL allows access, and whether there's a subnet conflict.

A contractor finished the work

Check that their access was revoked, temporary tokens aren't active, no unnecessary API tokens were created, and the changes are reflected in the log.

You need to confirm the work that was done

Generate a report for the site: period, connected devices, events, access changes, and current status.

Practical recommendations

Checklist

Related sections