Import logs

Import logs contain information about the import of data from the BigFix® server or the disconnected data source to License Metric Tool. They list steps related to the import process and show their status. Each action in the log file is reported in the UTC time zone, but the file also shows information about the local time zone of the License Metric Tool server.

Log location

By default, the logs are stored in the following location on the computer where the License Metric Tool server is installed.
  • Linux icon /opt/ibm/LMT/wlp/usr/servers/server1/logs/imports
  • Windows icon C:\Program Files\ibm\LMT\wlp\usr\servers\server1\logs\imports

The log from the last import is also accessible from the License Metric Tool user interface. To view the log, go to Management > Data Imports. The last megabyte of the log data is displayed in the web user interface.

To download an earlier version of the import log from the user interface, identify the row with the import that you are interested in, and click Download. The log file is saved in the download directory of your web browser. Starting from application update 9.2.32, if the log file is over 100MB, it is automatically compressed during the download.
Downloading the import log.

Log file settings

To change log settings, go to Management > Advanced Server Settings. You can change the following settings.
Log level
By default, the level of data import logging is set to INFO. You can change the setting to collect debug information about broken relationships, for example deleted component relationships. To enable debug logging, change the value of the debug_logging_for_imports parameter to true.
9.2.32 Maximum age of log files
By default, log files that are older than 90 days are deleted. To change the number of days after which the files are deleted, change the value of the maxLogFilesAge parameter. To disable deleting log files, change the parameter to 0.
9.2.32 Maximum size of log files
By default, the maximum size of a single file is set to 1024MB. After the limit is reached, a new log file is created. To change the maximum size of a log file, change the value of the maxLogFileSize parameter. To disable the limit, change the value of the parameter to 0.

Import statuses

Successful
The import finished successfully.
Incomplete
The import could not finish. It might happen when the License Metric Tool server is stopped during the import. Ensure that the server is running, check the import logs, and rerun the import.
Failed
The import failed. Ensure that the BigFix server is running (if applicable), check the import logs, and rerun the import.

Time zone

The time of all actions that are saved in the import log file is listed in the UTC time zone. You can compare the time to the local time zone of your server to learn when exactly a particular action occurred. Information about the time zone of your server is written at the beginning of the log file and is repeated every 1000 entries. The following examples are excerpts from the log file.

Linux
[INFO]: Local Server Time Zone is +0200 Europe/Warsaw
Windows
[INFO]: Local Server Time Zone is CurrentTimeZone=-300 (UTC-06:00) DaylightBias=-60

Reviewing the import log

Review the following INFO messages in the import log to check how much data was transferred during the import.

Information about Items specified in the import log Description
Infrastructure Computer items The total number of computers in your environment that are monitored by License Metric Tool.
Software and hardware SAM::ScanFile items
The number of files that have input data for the following items:
  • Information about catalog-based scan (SAM::CitFact items)
  • Information about software identification tags scan (SAM::IsotagFact items)

SAM::CitFact items

The total count of information pieces from catalog-based scans (contained in the processed scan files).

SAM::IsotagFact items

The total count of information pieces from software identification tags scans (contained in the processed scan files).
Installed packages SAM::PackageFact items The total count of information pieces about Windows packages that were gathered by the package data scan.
SAM::UnixPackageFact items The total count of information pieces about UNIX packages that were gathered by the package data scan.
Note: Starting from application update 9.2.33, information about installed packages is not collected. The information about Windows and UNIX packages in the import log is not present.
Example:
INFO: Computer items: 15000
INFO: SAM::ScanFile items: 30000
INFO: SAM::IsotagFact items: 0
INFO: SAM::CitFact items: 149496
INFO: SAM::PackageFact items: 406687
INFO: SAM::UnixPackageFact items: 1922564