Versions Compared

Key

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

You can add data (in table format) from a database into XpoLog as a log, provided that the database is connected to a JDBC driver. Database table configuration in XpoLog should be based on a common SQL query.

To add a database table into XpoLog as a log:
  1. In Connection Details, select the account required to connect to the database, or click the new link to add an account to the system.
    Note: If you do not have any Database account, the Add Database account page is presented automatically.
  2. Optionally, define advanced settings for the Database log – Data Access Mode and/or Regional Settings (see Configuring Advanced Log Settings).
  3. Click Next.
    The Database Query Administration screen opens, listing the tables in the database.
  4. Select the table that you want to add to XpoLog as a log.
  5. In the Query Definition textbox, write an expression based on SQL syntax to execute on the selected table(s).
    Note: If you are not familiar with SQL syntax, leave the default expression. 
  6. Optionally, click Verify Query to preview on the lower half of the screen, the log records resulting from the query that you input. If you would like to change the resulting log, repeat step 5.
  7. Click Save.
    The database logs are displayed in the Log Viewer.