This page is a quickstart tutorial to get started with the WAPT Reporting module. For complete and detailed documentation (database structure, external PostgreSQL connection, Grafana dashboards, etc.), refer to the Utiliser la fonctions de requête dans WAPT page.
Note
Reporting is a feature of WAPT Enterprise. Please ensure you have the correct licence before starting this tutorial.
The WAPT Reporting module lets you write your own SQL queries against your fleet’s database, and display the results directly within the WAPT Console.
No one knows better than you what information you need. Reporting allows you to, for example:
List the machines on which a given piece of software is installed (even if it was not deployed through WAPT);
Identify hosts that haven’t been seen for a while;
Obtain statistics about your fleet (breakdown by OS, by machine type, etc.);
Create dynamic filters in the Inventory tab, based on the results of your queries.
Note
The WAPT PostgreSQL database is accessed in read-only mode from the Reporting module: your queries can therefore never modify, delete, or insert data. You can test freely without any risk of damaging your fleet.
Once you have created it, return to the WAPT console.
Go to Reporting tab (1) → Importqueries…(2) → Fromafile(3), then select the file.
Select the inactive_hosts_8d.json(1) file from the directory where it was created, by clicking on Open(2).
Import the query by selecting it (1) and then clicking on importselectedqueries(2):
Click to the new tab call: Inactive hosts since 8 days. (1) and save it (2).
Enter a query name (1) and click OK(2).
Once the query is created, it appears in the left panel (1). To rerun a query, simply click the Execute button. (2)
You have now tested importing queries via URL or file.
normalizing software names, to group under a single name software that appears differently depending on its version or architecture, making your version-tracking queries more reliable;
More query examples (machines by chassis type, most installed software, machines not seen for a long time, etc.).