XpoLog help - Configure Regular Xml Log
 
In order to browse a log's file(s) it is necessary to supply some configuration information.
Note that the information correctness is crucial for XpoLog to present and analyze the data in a correct and efficient manner.
 
Adding new xml manual log :

 

1. Enter the log's parent folder, name and description. For additional info see General Log Settings help .
2. Enter the log's path and determine it's online/offline attribute stat.   For additional info see General Log Settings help .
3. You can repeat action number 2 if you want to configure new directories location for this log.
4. Set your 'Advanced' setting by clicking the 'Advanced' link.  For additional info about advanced settings see General Log Settings help .If you need to use authentication account select it from the 'Account' section.
5. Tag name - In XML files with reoccurring tags of data such as log files you must define the root event element for the system. so if the log structure is as follows: <doc><logevt>......</logevt><logevt>......</logevt>......</doc> the "logevt" tag is the event tag. Given that value enable the system to auto analyze the xml and create a table view of the log.
6. Go next to the XML schema definition page.
7. In the XML schema definition page you will see in the upper part of the screen the XML event text in the middle you will see the result of the auto analysis of that XML text. Every Tag will be treated as a column in the table unless this Tag has no value but sub children as tags, there for this tag will be ignored. If the analysis is not correct you can correct it in two ways. One is to change the XML code and press reanalyze XML or to uncheck the ignore button in the visual editor. Every Attribute will be treated as a column as well. Unless the system will identify or you will specify that a certain Attribute is just a TYPE and there for the value of the Tag should be treated as a column and the Attribute present the name o that column. such as <logevt><info type="user">root</info><info type="session">12</info></logevt> in this case the Attribute type="user" is a column with the value of the info tag, the other info tag is basically a session column. On the lower pat of the screen you can see the table created from the XML file.
8. Press the 'next' link.
9. In 'Log Field Admin' page you set the log's fields settings. 'Generated Table' section show you few first line from the analysis lines.
10. In 'Field Specification' section you can edit each field name by setting a new name. (see more field setting in the steps 12,13).
11.

The 'Add virtual column' enables you to merge few column to virtual merged one. select the column you want to merge and press add. you can also edit the new column that were created like in step 10.

12. Check 'Compute statistic' check box to enable statistical evaluations on this log. You can set this option for each filed separately. For additional information about statistics setting see Dashboard Log Definitions Help.
13. In 'Indexing Settings' section you can decide which column to include while running indexing. Checking 'Use indexing for date search' checkbox enable quick date search using the index.
14. Press the 'next' link for ending successfully this process.
Note that if the pattern is wrong, you may see wrong data or even nothing in the log view.
 
After adding the log you can choose to view it in the log view page or to customize its table and colors.
 

Additional links

     Pattern help
     Log view help
     Log customization help