Using Regular Expressions and XML Classes to Parse Your Log Files
Subject:   XML is bloat for logfile data
Date:   2003-06-11 09:05:05
From:   anonymous2
While XML makes data more portable, it causes increased bloating at the same time. Especially with log file data. If you have a lot of data in a perfectly readable text-based log file (which likely compresses really well with gzip or bzip), why quadruple it's size by converting it to XML? XML is more useful for non-regular data, where significat meta-data is required to interpret it. For log files, which are highly regular, a few comment lines at the top can provide all the information necessary for parsing the data. e.g.

A more useful application of these technologies would be to analyze and summarize the data in the log file and then write a summary report to XML.

This report could then be processed with XSLT or other style processor to produce output in HTML, PDF or any other format of choice.

1 to 1 of 1
  1. XML is bloat for logfile data
    2003-06-11 09:07:50  anonymous2 [View]

    • XML is bloat for logfile data
      2003-06-11 17:27:59  anonymous2 [View]

1 to 1 of 1