Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

By default, XpoLog applies an automated pattern to parse the logs, when you click the Save button on the first page of the Add Log wizard.

Applying a pattern on a log enables viewing the log in organized tabular format, setting an alarm on a specific field, or aggregating on a certain field.

By default, when adding a log to XpoLog and clicking the Save button on the first page of the Add Log wizard, XpoLog applies an automated pattern to parse the logs.

For certain log types (local, Windows Network, Over SSH, and Hadoop HDFS), XpoLog enables you to tune the log and parse it more deeply to normalize the log records into tabular format, by applying patterns on the incoming log data. 

...

It may be necessary to configure more than one pattern for logs that have different types of records that cannot be represented by a single pattern. You can do so, by so by clicking  the New button in the central pane.

...

  • Upper pane – Text sample from the selected log. This pane presents the first 20 records from the incoming log (original data). You can copy paste other records from the incoming log data into this section, and then view the results of applying a pattern on those records (see Verifying Patterns on Manually Selected Data). 
  • Central pane – There is a tab for each pattern that has been configured for the log, named Pattern1, Pattern2, and so on. There is also a New button, which can be clicked to configure a new pattern to apply on the log. On the right side, provides you with three different Pattern Editor methods for configuring the patterns to apply on the log data:
    • Wizard – opens – Opens a wizard for creating or modifying a pattern. Using the wizard, you can set different indications on each column such as type, length, optional, column name and more (more information on each type is presented in the wizard itself).
    • Manualfor For advanced users who are familiar with the Pattern language.
    • Automatic – XpoLog matches patterns automatically and suggests possible patterns for deeper parsing. This is only available when adding a log; not when editing a log.
  • Bottom pane – Log records analysis results. Shows the results of each parsing, i.e. applying the pattern to the log data.

...

  1. In the central pane of the Patterns Administration page, click the tab of a pattern to modify, or click the New button to configure a new pattern.
  2. Click one of the available Pattern Editor options, and configure the pattern:
    Auto – see Selecting an Automatic Pattern.
    Wizard – see Creating a Pattern Using the WizardBuilder.  
    Manual – see Configuring a Manual Pattern.
    Note: You can also create a pattern in the wizard based on one of the automatic pattern suggestions (see Creating a Pattern Based On an Automatic Pattern Suggestion).
  3. Repeat steps 1 and 2 for each pattern that you want to configure or modify.    
  4. After you have modified and configured all patterns, click the Save button.
    XpoLog applies the pattern on the incoming log, and the Log Viewer opens displaying the parsed records of the new log. The log name is displayed in the left pane in its selected location under Folders and Logs. If you put in the log path a {string} pattern, the various files of the log appear in the left pane. Otherwise, only one file appears. You can perform regular actions on this log.

...