Versions Compared

Key

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

You can add a log to XpoLog Center from any of the following sources:

  • Local – The log is on the same machine as XpoLog Center or can be directly accessed from a remote server (in the case of Windows) or a mounted directory (in the case of UNIX).
  • Windows Network – The log is on a remote Windows machine.
  • Over SSH – The log is on a remote UNIX machine (with SSH connecting protocol). 
  • Hadoop HDFS – The log is in a Hadoop environment.
  • Google App Engine – The log is on a Google cloud.
  • Database – Connection is made to a database to import a table from the database as a log.
  • Windows Events  – The log is a Windows Events log.
  • Remote XpoLog – Connection is made with http (protocol of navigating) or https (secure protocol of navigating, as in a bank) between XpoLog instances.
  • Merge Logs – Multiple logs in the system are combined into a single unified view log and sorted chronologically.

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.  

Once a log is brought into XpoLog it is indexed and undergoes Analytics. You can also run searches on it, and perform all log actions on it.

To add a log to XpoLog:

...

edit the definition of logs that resides in XpoLog Center. Editable information includes the log's basic information (log name,  parent folder, and applications to which it is tagged), log type settings (besides for the log type, which cannot be changed), and the pattern applied on the log.

To edit a log:
  1. In the left pane, under Folders and Logs, right-click a log that  you want to edit, and in the menu that appears, click Edit.
    The Edit Log page appears.
  2. Modify the log definition, as described in Adding Data to XPLG. The only field that you cannot modify is Log Type.