--- title: "Gather logs for support | Lansweeper Platform" slug: "gather-logs-for-support" description: "Download Lansweeper Network Discovery hub and sensor logs from the Troubleshooting tab, or run the gatherlogs script as a fallback, and send them to Support." tags: ["Lansweeper Platform", "Discovery and scanning", "Network Discovery", "Troubleshooting"] status: "update" updated: 2026-11-19T21:07:08Z published: 2026-11-19T21:07:08Z canonical: "docs.lansweeper.com/gather-logs-for-support" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt > Use this file to discover all available pages before exploring further. # Gather logs for support 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.](https://cdn.document360.io/21d5935c-1b73-44fa-bf5a-a8b0f5c67f25/Images/Documentation/network-discovery-troubleshoot(3).png?sv=2026-02-06&spr=https&st=2026-11-23T20%3A12%3A11Z&se=2026-11-23T21%3A12%3A11Z&sr=b&sp=r&sig=etWFWpRSqoY%2FO2VVin%2FWZi4M8GwMvi9gyVWJR4y92C4%3D) 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 - [Enable detailed logging](/docs/enable-detailed-logging). Raise logging verbosity before you reproduce an issue, so the gathered logs capture more detail. - [Check device connectivity](/docs/check-device-connectivity). Test what a sensor can reach on a single device. - [Default installation and log file locations for Network Discovery](/docs/discovery-hub-and-sensor-installation-files). Find the hub and sensor install paths and log file locations.