IBM Operations Analytics - Log Analysis, Version 1.3.2

Log file annotations

The annotations that are defined by the log file index configurations are described here.

The index configuration file is included in the Insight Pack in the sourcetypes.json file (found at <path>/SyslogInsightPack_<version>/metadata), where <path> is the path where you saved the Syslog Insight Pack.

You can customize the artifacts in the index configuration file by creating another source type and modifying a copy of the Syslog index configuration.

The following sections describe the fields that are defined in the index configuration file. These fields, or annotations, are displayed in the IBM® Operations Analytics - Log Analysis Search workspace, and can be used to filter or search the log records. Fields are extracted from the fields of a log record or collected from metadata around the log file. Each table gives the names of the fields (these names correspond to fields in the IBM Operations Analytics - Log Analysis Search workspace), descriptions of how the related annotations are made, and the index configuration attributes assigned to the fields.

Log record annotations

The following table lists the index configuration fields that relate to log record annotations. Each field corresponds to part of a syslog log record.
Table 1. Log record index configuration fields
Field Description Attributes
syslogHostname The hostname from the message.
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true
searchable = true
syslogRelayHostname The hostname of the system the message was received from (in a relay chain, this is the system immediately in front, and not necessarily the original sender).
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true
searchable = true
tag The TAG from the message.
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = false
searchable = true
programName The static part of the tag as defined by BSD syslogd. For example, when TAG is "named[12345]", programName is "named".
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true  
searchable = true 
processID The contents of the PROCID field.
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = false
filterable = true  
searchable = true
facility The facility from the message.
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true
searchable = true
severity The severity from the message (in text form).
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true  
searchable = true
syslogAppName The APP-NAME from the message.
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true  
searchable = true
message The MSG (the message) in the log record.
dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = false
filterable = false  
searchable = true

Metadata annotations

The following table lists the index configuration fields that relate to metadata annotations.

Table 2. Metadata annotation index configuration fields
Field Description Annotation attributes
datasourceHostname The host name that is specified in the data source.
dataType: TEXT 
retrievable: true 
retrieveByDefault: true 
sortable: false 
filterable: true
searchable: true
timestamp The timestamp from the log record.
dataType = DATE
retrievable = true
retrieveByDefault = true
sortable = true
filterable = true
searchable = true
application The application name that is populated by the service topology data source field.
dataType: TEXT 
retrievable: true 
retrieveByDefault: true 
sortable: false 
filterable: false 
searchable: true
middleware The middleware name that is populated by the service topology data source field.
dataType: TEXT 
retrievable: true 
retrieveByDefault: true 
sortable: false 
filterable: false 
searchable: true
hostname The host name that is populated by the service topology data source field.
dataType: TEXT 
retrievable: true 
retrieveByDefault: true 
sortable: true 
filterable: true 
searchable: true
service The service name that is populated by the service topology data source field.
dataType: TEXT 
retrievable: true 
retrieveByDefault: true 
sortable: false 
filterable: false 
searchable: true
logRecord The entire log record output by the splitter.
dataType: TEXT 
retrievable: true 
retrieveByDefault: true 
sortable: false 
filterable: false 
searchable: true


Feedback