User’s Guide – version 3.5 | NetFlow Tracker |
Appendix 3: XML Format
Every standard chart and tabular report can be converted to XML for use in external software. The XML schemas are provided in the xml subfolder underneath the folder where NetFlow Tracker is installed.
The root of each XML document contains the report title; the first tag within the root contains information about the NetFlow Tracker version that generated the document.
The next tag contains information about the filter applied to the report. The time range is specified as a start and end in both milliseconds UTC and year, month, day, hour, etc. The number of milliseconds spanned by the time range is provided, taking into account the time mask applied, if any.
Chart XML format
Each of the charts is described in a separate tag, with a title attribute equivalent to the title in the tabs above the chart in interactive mode. The next tag describes the types and headings of each column in the description of each charted element; the subsequent tag provides the type, heading and overall total for each summary column.
The final tag describes each charted element, or dataset. Each dataset has a value for each description column (unless it is marked as being an “others” dataset) and a value for each summary column. This is followed by the start and end time and value for each sample that makes up the dataset.
Pie chart XML format
The pie chart format is very similar to the chart format, but there are no datasets.
Tabular report XML format
A tabular report is described using two tags. The first describes the type and heading of each column in the report; any column totals are included here.
The second section describes each row in the table. If the number of rows is restricted the attributes of the result tag provide the start result, number of results output and the total number of results in the report. Each result contains a value for each column.
86