...
To add a database table into XpoLog as a log:
- In In Connection Details, select the account required to connect to the database, or click the the new link link to add an account to the system.
Note: If If you do not have any Database account, the Add Database account page is presented automatically. - Optionally, define advanced settings for the Database log – Data Access Mode and/or Regional Settings (see see Configuring Advanced Log Settings).
- Click Next.
The Database Query Administration screen opens, listing the tables in the database. - Select the table that you want to add to XpoLog as a log.
- In the the Query Definition textbox, write an expression based on SQL syntax to execute on the selected table(s).
Note: If If you are not familiar with SQL syntax, leave the default expression.
Advanced: If you are interested to add functions that will run at the end of the query use at the end of the entered query XPLG_QUERY_INSERT and then the function. For example:
Select * from TABLE_NAME XPLG_QUERY_INSERT with UR - Optionally, click click Verify Query to 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.
- Select the maximum records that you want XpoLog to show.
Note: By By default XpoLog will retrieve only 10000 records from the table. It is highly recommended to select 'Unlimit' and then click click order by to to specify which column should be used for the order by when querying the table. The selected column must be unique - either an ID or Date so that each collection cycle will start from the last record which was collected. - Click Click Save.
The database logs are displayed in the Log Viewer.