Add a log correlator to identify relationships in logs
Detect related alerts in log data by adding log correlators. The base system includes several log correlators and you can define custom log correlators.
Before you begin
Role required: evt_mgmt_operator or evt_mgmt_admin
About this task
To learn more about the types and functions of log correlators, see Using log correlators to detect relationships in log data. For more information on log sources, see Verify your log sources.
Procedure
-
Use one of the following methods to add a log correlator.
Option Procedure Add a log correlator for a specific log source - Navigate to Health Log Analytics > Log Anomaly Detection > Log Correlators. The list of existing log correlators opens.
- Click the name of a log correlator. The names appear in the Correlation indicator column.
- Click New.
Add a log correlator that applies either to all log sources or to only those log sources that become active after you define this log correlator - Navigate to Health Log Analytics > Data Input > Log Sources.
- Click the name of the log source.
The Log correlators related list displays the list of existing log correlators that analyze log data from the selected log source.
- On the Log correlators tab, click New.
-
Fill in the Log correlator form.
Table 1. Log correlators form Field Description Type Type of log correlator. Choices are as follows. - Free text correlator: The log correlator analyzes text in the log message.
- Log-key correlator: The log correlator analyzes log metadata. For example, the name of a service instance in your infrastructure. Log property correlators are specific to the business context of your environment.
For more information, see Using log correlators to detect relationships in log data.
Free text term or Identifier Text that the log correlator isolates when parsing log lines. The label for this field is Free text term for free text correlators and Identifier for log property correlators.Note:The value of this field can be the text for either type of log correlator. As a result, the label for this column in the resulting list of log correlators is Correlation indicator.Active Option to apply the log correlator. When you select this field, the system applies the log correlator to the log stream. Range of analysis Set of sources whose log data are analyzed by this log correlator. Choices are as follows: - All sources: The log correlator is applied to log lines from all sources in the data stream.
- Only new sources: The log correlator is applied to log lines from all sources created after this log correlator is activated.
- Specified source: The log correlator is applied only to the log lines from the source that you specify on this form.
Excluded sources Sources that are excluded from the log correlator. The system does not analyze log lines from sources that are listed in this field. Note:This field applies only when the Range of analysis field is set All sources or Only new sources.For information about excluding a source from a log correlator, see Exclude a source from a log correlator.
Source Source of the log correlator. The log correlator analyzes the data of this log source. This field appears only when you are adding the log correlator from the Log Sources form. This field is automatically set to the log source that you are working on.
- Select Active and then click Submit.