Gather logs for support

Prev Next

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.ps1 script, run on the machine where Network Discovery is installed. Use this as a fallback when the hub is unreachable.

Download logs from the hub

The Settings Troubleshooting tab in the Network Discovery hub, with the Gather logs card and its Download logs button on the right, next to the Detailed logs and Target detailed logs cards.

  1. Navigate to your Network Discovery hub.
  2. Go to Settings > Troubleshooting.
  3. On the Gather logs card, select Download logs.
  4. Wait for Network Discovery to collect the logs. This can take a few moments.
  5. Save the generated .zip file, then send it to Lansweeper Support.
What the bundle contains

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.

  1. Open PowerShell as administrator.

  2. Run the following command:

    & "C:\Program Files\Lansweeper Network Discovery\tools\gatherlogs\gatherlogs.ps1"
    
  3. Wait for the script to finish. It creates a .zip file automatically.

  4. Send the generated .zip to Lansweeper Support.

Related articles