on 11-22-2022 10:07 AM - edited 2 weeks ago
This page explains how you can use the GatherLogs tool to collect files for the Lansweeper Support team.
When contacting Lansweeper Support, it's always preferred to provide information from files stored on your Lansweeper installation. To make this process easier, the GatherLogs tool has been created.
The GatherLogs tool, which is included in every Lansweeper installation, will collect log files and other relevant information and compress the data in a Zip file.
When sent to Lansweeper Support, these files will provide the necessary information for the technical support engineers to start troubleshooting your case.
You can gather information from:
Program Files (x86)\Lansweeper\Tools
and run GatherLogs.exe.Program Files\Lansweeper Network Discovery\Tools\GatherLogs
, right-click GatherLogs.ps and select Run with PowerShell. Program Files\Lansweeper IT Agent Discovery\Tools\GatherLogs
, right-click GatherLogs.ps and select Run with PowerShell. GatherLogOutput-$computername-$datetime.zip
Depending on the installed Lansweeper components (scanning service, website, database), the GatherLogs tool will collect data based on what is present on the server.
The output file will be stored in the same folder where GatherLogs was executed.
The following list provides an overview of the information collected from the Lansweeper server.
Lansweeper license and database information:
Lansweeper configuration information:
Event viewer exports filtered for the last 7 days:
Log files generated during the Lansweeper installation/upgrading process:
Lansweeper service logs:
IIS Express service logs:
The GatherLogs tool can be moved and executed from a Windows asset with LsAgent installed. Both the executable and the accompanying DLL ICSharpCode.SharpZipLib.dll
must be moved together to achieve this.
The output file will be stored in the same folder where GatherLogs was executed.
The following list provides an overview of the information collected from LsAgent on a Windows asset.
Event viewer exports filtered for the last 7 days:
LsAgent information and logs:
The output file will be stored in %APPLOCALDATA%\temp\Lansweeper Network Discovery\GatherLogs
.
The following list provides an overview of the information collected from the Network Discovery installation.
Discovery Hub information:
Log files generated during the installation/updating process:
IT and OT sensor information:
Service logs:
System information:
The output file will be stored in %APPLOCALDATA%\temp\Lansweeper IT Agent Discovery\GatherLogs
.
The following list provides an overview of the information collected from the IT Agent Discovery installation.
Discovery Hub information:
Log files generated during the installation/updating process:
IT and OT sensor information:
Service logs:
System information:
Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try NowExperience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now