On this page

Export reports

With Offline Qt License Server, you can export reports on license usage in comma-separated values (CSV) (.csv) or spreadsheet (.xlsx) format to view license usage within a specified time frame. Use a text editor or spreadsheet application to view the files. In a spreadsheet application, such as Microsoft Excel, you can sort and filter the reports in many ways.

The exported file contains reports about:

  • Active reservations
  • Detailed usage
  • Logs
  • Statistics

To learn more about the contents and structure of an exported report, download the example report.

Note: For expired licenses, only logs are exported.

For more details about what information the reports contain, see Data collection.

A statistics report as a spreadsheet.

A statistics report as a spreadsheet.

Export all reports from the command line

Export reports from the command line with the Qt License Server command-line interface.

To export all reports, enter:

./qt-license-server export --url <URL of the running instance>
.\qt-license-server.exe export --url <URL of the running instance>

Export reports with specific criteria from the command line

Export reports with specific criteria from the command line to customize what data is included in the reports.

For example, to export reports for a specific license number within a specific time frame, enter:

./qt-license-server export --url <URL of the running instance> --licenseNumber <number> --startDate <'YYYY-MM-DD'> --endDate <'YYYY-MM-DD'> --extension <format of the export file (csv | xlsx)>
.\qt-license-server.exe export --url <URL of the running instance> --licenseNumber <number>  --startDate <'YYYY-MM-DD'> --endDate <'YYYY-MM-DD'> --extension <format of the export file (csv | xlsx)>

Options for the export command

The following table describes the available options for the export command in more detail.

OptionPossible valuesDescription
--url, -uURLURL of the running license server, required.
--fileName, -fFile nameFile name of the report.
--filePath, -pFile pathPath to the directory where the reports are. The default is current directory.
--extension, -e
  • csv
  • xlsx
File format to export reports as. The default is xlsx.
--licenseNumber, -lLicense number from QtThe entitlement.json file lists license numbers. To export reports for all licenses, omit --licenseNumber.
--startDate, -sdYYYY-MM-DDStart date for the report. To export all data from the earliest record, omit --startDate.
--endDate, -edYYYY-MM-DDEnd date for the report. To export data until today, omit --endDate.

To export all data, omit --startDate and --endDate.

See also Manage reports.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.