Addinsights Command

Use the addinsights command to view additional insight information in each log record. The commands returns fields Cluster Record Count, Shape Record Count, Shape Cluster Count, Potential Issue, and Shape ID.

Syntax

addinsights

Fields in the Result

The following table lists the parameters used in this command, along with their descriptions.

Parameter Description

Cluster Record Count

Number of log records that are similar to this one

Shape Record Count

Number of log records with the same trend over time

Shape Cluster Count

Number of Clusters with similar trend over time

Potential Issue

This field can have a value of null or 1. A value of 1 indicates the log record contains keywords that are considered as potential issues.

Shape ID

A unique ID that represents the shape for this record's trend. All records with this ID will have the same trend. You can click on the cluster trend to search for similar trends.

The following command adds insights to log records with severity fatal.

severity = fatal | addinsights | where 'Shape ID' = -1845058765