Tutorial on creating advanced reports in Lansweeper Cloud. In this episode, Esben covers some of the tips and tricks he has learned writing reports in Lansweeper Cloud (also with the help of ChatGPT!) . Read the full blogpost ► https://www.lansweeper.com/pro-tips/c...
Lansweeper Cloud’s basic reporting is great for when you want to create simple reports, but many existing Lansweeper customers as well as new ones might not be familiar with writing queries for MongoDB. As someone who has worked with SQL for many years I faced those same issues when making the switch, here are some of my tips on how you can get started quickly with more advanced reporting in the new cloud report builder.
Duplicate, Duplicate, Duplicate.
I cannot emphasize enough how important it is to learn this button. Lansweeper has a ton of reports, all of which are basically templates for you to start, or steal from. I rarely create a report from scratch because I know there are reports there that have parts I can re-use with minor tweaking.
ChatGTP
One of the most useful tools in my path to learning MongoDB querying has been ChatGPT. It is great at both giving examples and explaining code. Once you duplicate a report, attempt to understand what all the custom code does, simply take a party of it and paste it into ChatGPT to learn what it does.
On the other hand, need a specific functionality, ask ChatGTP how to do it in MongoDB. Just pay attention to how the Lansweeper code puts everything between quotes.
Notepad++
When working with longer parts of custom code, scrolling in the small code boxes in the report builder isn’t the most comfortable. Therefore I personally just copy paste code into Notepad++ to read and edit it more easily.
Documentation
If you’re looking for something specific or wonder why something ChatGTP gave you isn’t working, you might want to check the documentation. It lists exactly which functions you can use in the custom code, and it also has a list of which data you can find.
Start your Lansweeper free trial today ► https://www.lansweeper.com/download
Lansweeper enables you to manages your entire IT network, saving an incredible amount of time by automating key tasks. It features best in class fully automatic asset scanning and network inventory software, to keep you on top of your IT-environment.
Recommended by sysadmins all over the world, download your Lansweeper free trial today and start managing your IT assets the right way.
Useful Links
Website ► https://www.lansweeper.com/
Knowledgebase ► https://www.lansweeper.com/kb/
Forum ► https://www.lansweeper.com/forum/
Blog ► https://www.lansweeper.com/blog/
Let’s Connect
Facebook ► / lansweeper.network.inventory
Twitter ► / lansweeper
Linkedin ► / lansweeper-bvba
Contact ► [email protected]