Chapter 4. Using DLF Stores

Table of Contents

The lire user interface
Accessing a Dlf Store
Import Jobs
Report Jobs
Report Schedules
Ouput Jobs
Using lr_cron within Cron
Report Configurations
Charts
DLF Streams

This explains how to use the lire and lr_cron to set up an automated log database system. The idea is really simple, you set up a database called a DLF Store into which you will periodically import log files. In this store you can configure various reports that will be generated automatically from the data contained in the store. The generated reports are saved in XML format in the Dlf Store and reports over longer period can be generated by aggregating the saved reports data.

The lire user interface

The lire uses interactive console interface to configure Lire configuration and Dlf Stores. You navigate around the interface by using the TAB and Meta-TAB keys. On some systems, (notably GNU/Linux and other systems using the ncurses library) you can also use the mouse to navigate the user interface.

Many screens contain an help area which describes the parameter which is currently being edited. You can scroll this area by using the PgUp and PgDown key.

In listboxes, you can use the j or ArrowDown keys to select the item below the current selection. The k or ArrowUp keys can be used to select the item above the current selection. The DEL key will delete the selected item and the INS key will insert a new item in the list. Hitting Ctrl-C will make a copy of the currently selected item. The J (uppercase) and K keys can be used to reorder the items in the list.

Note

It is possible that you encounter messages stating that your screen is too small to use the application. The message also informs you to stop the application and resize the terminal before restarting. You do not need to stop the application. If you are using a resizable terminal (like an xterm for example), simply resize the terminal until the messages disappear.