When you contact Lansweeper Support, send the Network Discovery log bundle. It contains the hub and sensor logs Support needs to diagnose most issues.
You can gather the bundle two ways:
- The Download logs button in the Network Discovery hub. This is the primary method.
- The
gatherlogs.ps1script, run on the machine where Network Discovery is installed. Use this as a fallback when the hub is unreachable.
Download logs from the hub
.png?sv=2026-02-06&spr=https&st=2026-09-07T21%3A44%3A23Z&se=2026-09-07T21%3A55%3A23Z&sr=c&sp=r&sig=EowNc4nxulnxU%2F1%2Fs5T0gFhJCslCaWBB2XrSj6FXvaA%3D)
- Navigate to your Network Discovery hub.
- Go to Settings > Troubleshooting.
- On the Gather logs card, select Download logs.
- Wait for Network Discovery to collect the logs. This can take a few moments.
- Save the generated
.zipfile, then send it to Lansweeper Support.
The bundle covers both hub and sensor logs, along with configuration snapshots and health status details. The Excel file inside reports row counts for all database tables.
Gather logs with a script
If the Network Discovery hub is unreachable, run the log collection script directly on the machine where Network Discovery is installed. The gatherlogs.ps1 script stays available and supported as a fallback.
-
Open PowerShell as administrator.
-
Run the following command:
& "C:\Program Files\Lansweeper Network Discovery\tools\gatherlogs\gatherlogs.ps1" -
Wait for the script to finish. It creates a
.zipfile automatically. -
Send the generated
.zipto Lansweeper Support.
Related articles
- Enable detailed logging. Raise logging verbosity before you reproduce an issue, so the gathered logs capture more detail.
- Check device connectivity. Test what a sensor can reach on a single device.
- Default installation and log file locations for Network Discovery. Find the hub and sensor install paths and log file locations.