XpoLog help - Configure HTTP Log
 
In order to browse a log file(s) via http follow the several next steps.
You may configure and view either regular log file or xml log file.
 
Adding new http (manual and xml) log :
1. Getting started - make sure you have created an http account in XpoLog. If not, go to data support in the slides menu and click 'Address Book', then create a http account and save it.
If you want to use XpoLog's help, follow this link: Address Book.
2. Enter the log's parent folder, name and description. For additional info see General Log Settings help .
3. Select the http account you want to use.
4. Enter the log's path and determine it's online/offline attribute stat.   For additional info see General Log Settings help .
5. You can repeat action number 4 if you want to configure new directories location for this log.
6. This section is relevant for adding XML HTTP log file to XpoLog - 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.
7. Set your 'Advanced' setting by clicking the 'Advanced' link.
Refresh Rate - choose what is the interval of downloading the log file when viewing or none for disabling it.
Automatic Data Update - when checked, each time the log file will be accessed, XpoLog will download the file again to get the most updated file. For additional info about advanced settings see General Log Settings help
8. Press the 'next' link.
9. This section is relevant for adding XML HTTP log file to XpoLog - 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.
10. In 'Log Pattern Administration' page you set your log's pattern configuration. In the first text box area you can see lines from your log as they look at the source file.
11. Set your log's line pattern .Be as accurate as you can for best analysis. see Pattern Help. after adding or editing the log pattern you can press the 'Verify pattern' link to see the parse result according to the set pattern . View this result at the 'Log record analysis result' section.
12. Press 'Advanced' link for advance settings : You can check the 'Use file date' to get the file's date from the file itself or you can add pattern for the file header (and number of first lines to look in the header) to get information (like date)from the header  Header Setting Help.
13. In the 'Log View Settings' section you can check the 'Ignore unparsed records' checkbox if you wish to see only records that fit to the pattern you entered. The 'Show line number' check box will enable you to see the lines number.
14. In The 'Pattern verification status' section you will see the analysis result of the log's line and data pattern.
15. The 'Log record analysis result ' section enables you to see the log's line after they were analysis.
16. Press the 'next' link.
17. In 'Log Field Admin' page you set the log's fields settings. 'Generated Table' section show you few first line from the analysis lines.
18. In 'Field Specification' section you can edit each field name by setting a new name. (see more field setting in the steps 20,21).
19.

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 18.

20. 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.
21. 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.
22. 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