Versions Compared

Key

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

...

Note: Windows Network and Windows Events logs are only available when Xpolog Center is installed on a Windows machine.

A single log can include many files of the same type or rotated files. For example, a messages log can include the files messages.1, messages.2, and more. It is recommended to capture multiple files of the same log type as one log, using a generic path. This can be done by appending a name pattern to the log path. For example, if a log type contains multiple files that follow a similar name pattern such as mylog.log.20110101_1, mylog.log.20110101_2, mylog.log.20110101_3, …, mylog.log.20110101_n, you can enter the generic log path: mylog.log.{date,yyyy-MM-dd}_{string}.

Examples:

  • /var/log/messages{string}
  • log.1.log, log.2.log, and log.3.log can be represented by the name pattern log.{string}.log.
  • myapp.25-8-2009-22:30:00, myapp.26-8-2009-22:30:00, and myapp.27-8-2009-22:30:00 can be represented by the name pattern myapp.{date,dd-MM-yyyy-HH:mm:ss}.

As logs are written in free format, XpoLog uses its built-in mechanism to guess the structure of the incoming log, also called a pattern. For example, Xpolog guesses which is the Date field, the Time field, and more, parses the data, and then adds the log records as bulk into XpoLog. Users can further normalize or tune the results of parsing. For example, if the results of parsing data is a log with columns Date, Text2, and Text3, the user can open the log under Folders and Logs, and click the log to open it and tune the parsing results. For example, Text2 column heading can be changed to Host, and Text3 column heading to Server Name. Next time you add a log of a similar type to the one that you edited, it uses the last structure that you applied to the new log.  

...

  1. Open the XpoLog tab, and in XpoLog Manager, click Add Log
    OR
    Open the XpoLog tab, and in the Administration menu, select Add Log
    OR
    In the XpoLog homepage, in the left pane under More Actions, click Add log
    OR
    In the XpoLog homepage, in the left pane under More Actions, click Quick start wizard, and in the Quick Start Wizard that opens, click Add Log
    OR
    Open the XpoLog tab, and in the Administration menu, select Folders and Logs, and in the Folders and Logs console that opens, click the New Log button.
    The Add Log Wizard opens.
  2. Set the basic information of the log being added to XpoLog, including log name, location, and tagging to applications  (see Setting Log General Information).
  3. Select In Log Type, select the log type of the log that you are adding to XpoLog, and proceed as follows:to add to XpoLog.
  4. Fill in the connectivity information for the selected log type, as follows:
    For a local log, follow the procedure in Adding a Local Log.
    For a Windows Network log, follow the procedure in Adding a Windows Network Log.
    For an Over SSH log, follow the procedure in Adding an Over SSH Log.
    For a Hadoop HDFS log, follow the procedure in
    For a Google App Engine log, follow the procedure in
    For a Database log, follow the procedure in
    For a Windows Events log, follow the procedure in
    For a Remote XpoLog log, follow the procedure in
    For a merged log, follow the procedure in   
  5. Once the log is added to XpoLog, validate the log configuration (see Verifying Added Log Configuration).