Automatic Configuration

Automatic Configuration

Automatic parser configuration is new in LogViewPlus version 2.3. This feature is designed to give you a head start in creating a valid parser configuration for your log file by dramatically lowering the learning curve. However, it still useful to understand how parser configurations work. In particular, it's important to understand how LogViewPlus assigns data to columns.

If LogViewPlus is able to automatically generate a parser configuration it will display the configuration in the Parser Settings dialog which gives you the option to modify and save the generated configuration. Saved configurations can be removed in application settings.

There are a couple of things you should double check in the automatically generated configuration before saving.

First, does the filename pattern makes sense? The generated filename pattern will automatically wildcard numbers and symbols which may be detected in the log file name. Often, this pattern can be made more generic to match a wider variety of filenames. For example, in the screenshot above the name SVR_*.log would likely be sufficient and match a wider variety of files.

Second, do the column names suggested by the generated configuration make sense? If the generated configuration suggests string columns (prefixed by %s), then generic column names will be used. For example Column1 and Column2. These names should be modified to better identify your data. It may help to find out more about the %S specifiers.

Finally, the automatically generated configuration will attempt to identify the thread and logger columns based on inbuilt heuristics. This best effort approach can be problematic and you should review the decisions made by LogViewPlus to ensure they are correct.

< >