Advanced Insights Log Collector

Sometimes we will need you to provide log files including information about the Advanced Insights instance. The Advanced Insights deployment includes an executable that can be used to collect all required logs.

The Advanced Insights log collector is located at the following path:

%Advanced Insights Install Directory%\Api\LogCollector\AdvancedInsightsLogDiag.exe

Example:

C:\Program Files (x86)\Advanced Insights\Api\LogCollector\AdvancedInsightsLogDiag.exe

The Advanced Insights log collector can be executed manually and is also used within the Advanced Insights installer. When the log collection process is completed, a zip file is created on the desktop. (AdvancedInsights_Diag_xxxxxxxx_xxxxxx.zip)

The output zip file should be shared with Patch My PC technical support.

Example output:

Advanced Insights log collection output.

This page provides details about what information the AdvancedInsightsLogDiag.exe collects.

Advanced Insights data and installation logs

The contents of the following directory are collected, which consist of the 'AdvancedInsightsApi.log' and any 'AdvInsights_Verx.x.x.zip' installer logs.

C:\ProgramData\AdvancedInsights\Logs

Advanced Insights default logging directory

Windows Application Event Log

The Windows Application Event log data is collected and output into 'Application_EventLog.log' with a filter applied for the following event sources:

  • ".NET Runtime"

  • "Advanced Insights"

  • "MsiInstaller" - if required to diagnose install problems, the filter will include

Advanced Insights SQLite db

The 'ConfigManagerLocation' and 'ConfigManagerDatabase' value are collected from the Advanced Insights SQLite database file located at:

'C:\ProgramData\AdvancedInsights\Data\Api\AdvancedInsightsConfig.db'

SQL Server information

The following information is queried from the SQL Server instance where the Configuration Manager database is located: SQL Master db:

  • Configuration Manager database name

  • Configuration Manager databaste state (ONLINE/OFFLINE)

  • Configuration Manager database compatibility level

  • Configuration Manager database .mdf file path

  • Configuration Manager database file size

  • Configuration Manager database log file .ldf path

  • Configuration Manager database log file size

  • SQL Server version

  • SQL Server Product Level

  • SQL Server Edition

  • SQL Server Engine Edition

  • SQL Server Product build

  • SQL Server Product Major version

  • SQL Server Product minor version

  • SQL Server Product update version

  • SQL Server Installed updates

  • SQL Server remote query timeout value

  • SQL Server maximum degree of parallelism value

  • SQL Server Minimum size of server memory (MB)

  • SQL Server Maximum size of server memory (MB)

Configuration Manager SQL database:

  • Advanced Insights Inventory Extensions class names and data counts.

  • Advanced Insights Inventory Extensions Configuration Manager application information. For example 'Name', 'created date', 'version', 'number of deployments'.

  • Configuration Manager database level SQL configured properties:

    • MAXDOP

    • LEGACY_CARDINALITY_ESTIMATION

    • PARAMETER_SNIFFING

    • QUERY_OPTIMIZER_HOTFIXES

Windows Server IIS information

  • Information related to the Advanced Insights IIS websites and application pools are collected.

  • Advanced Insights Api

  • Advanced Insights Frontend

  • Website name

  • HTTPS bindings included the current SSL certificate properties

Windows Server information

  • The version of Advanced Insight currently installed.

  • The install date of Advanced Insights.

  • The install path of Advanced Insights.

  • The install source of Advanced Insights.

  • Server CPU properties.

  • Installed Server RAM

  • Server disks including total size and free space

  • Windows OS version

  • Check for Server pending restart.

  • List Windows updates installed in the last 30 days.

Note

If you have any feedback or comments on our docs, please email docs@patchmypc.com.

Last updated