Parser Mappings

Parser Mappings

The 'log parser mappings' setting configuration is used to determine how a given log file will be processed. The rules for determining how a log file is processed are keyed off of the log file name. LogViewPlus will try to match the log filename using the filename pattern according to the Lookup Strategy selected.

You can find out more about the Log Parsers available in LogViewPlus.

1

Lookup Strategy

1. Lookup Strategy

The Lookup Strategy is used to determine the how the list of known file configurations should be searched.  Two types of algorithms are currently supported.

First Match - LogViewPlus will try to match the log file name using the first filename pattern.  If the first file name pattern doesn't match, LogViewPlus will move its second file name pattern and so on until a match is found. In the event that no match is found, LogViewPlus will parse the file using the basic parser.

Heuristics - Heuristics work by finding all matching patterns for a given log file name.  The target file will then be scanned using all matching patterns.  The final pattern will be selected based on the criteria below (listed in order of importance).

1.  The number of log entries parsed.

2.  The number of arguments in the pattern.  More detail is better.

3.  The configuration position in the list.

Heuristics processing is slightly slower than First Match and it may be difficult to determine 'why' a certain parser configuration is chosen.  For these reasons, the First Match algorithm is recommended.

It is important to note that the parser chosen may be used for tasks beyond parsing.  For example, parser configurations may be mapped to Automatic Templates.

2

Parsers

2. Parsers

The parsers grid shows the currently configured parsers. This grid is read-only.

The 'Name' column will display the file name pattern for the parser configuration if a reference name has not been provided.

3

Reorder

3. Reorder

You can use the ordering commands on the far right side of the log parser mappings configuration to specify the order in which file name patterns are processed.

4

Parser Wizard

4. Parser Wizard

The Parser Wizard can be used to guide you through the process of selecting and configuring a LogViewPlus parser.  Please see the Parser Wizard documentation for more information.

5

Parser Management

5. Parser Management

The parser management commands located at the bottom of the log parser mapping configuration allow you to add, edit and delete log parser mappings.


< >