Microsoft Log Parser 2.2

Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows? operating system such as the Event Log, the Registry, the file system, and Active Directory?.
You tell Log Parser what information you need and how you want it processed. The results of your query can be custom-formatted in text based output, or they can be persisted to more specialty targets like SQL, SYSLOG, or a chart.
The world is your database with Log Parser.

Log Parser is made up of three components:

  • Input Formats are generic record providers; records are equivalent to rows in a SQL table, and Input Formats can be thought of as SQL tables containing the data you want to process.
    Log Parser’s built-in Input Formats can retrieve data from the following sources:
    • IIS log files (W3C, IIS, NCSA, Centralized Binary Logs, HTTP Error logs, URLScan logs, ODBC logs)
    • Windows Event Log
    • Generic XML, CSV, TSV and W3C - formatted text files (e.g. Exchange Tracking log files, Personal Firewall log files, Windows Media? Services log files, FTP log files, SMTP log files, etc.)
    • Windows Registry
    • Active Directory Objects
    • File and Directory information
    • NetMon .cap capture files
    • Extended/Combined NCSA log files
    • ETW traces
    • Custom plugins (through a public COM interface)
  • A SQL-Like Engine Core processes the records generated by an Input Format, using a dialect of the SQL language that includes common SQL clauses (SELECT, WHERE, GROUP BY, HAVING, ORDER BY), aggregate functions (SUM, COUNT, AVG, MAX, MIN), and a rich set of functions (e.g. SUBSTR, CASE, COALESCE, REVERSEDNS, etc.); the resulting records are then sent to an Output Format.
  • Output Formats are generic consumers of records; they can be thought of as SQL tables that receive the results of the data processing.
    Log Parser’s built-in Output Formats can:
    • Write data to text files in different formats (CSV, TSV, XML, W3C, user-defined, etc.)
    • Send data to a SQL database
    • Send data to a SYSLOG server
    • Create charts and save them in either GIF or JPG image files
    • Display data to the console or to the screen

Download Log Parser 2.2

[ Via Conrad Agramont's WebLog ]

Learn how to customize your .Text Blog

Learn how to customize your .Text Blog by painting boxes around the posts, improving comment layout and adding search box and logo image.

[ Via Josh Ledgard Blog ]

Submit your RSS feed to 15 places at a time

Submit your RSS feed to 15 places at a time, via FeedSubmitter, available free at http://thomaskorte.com/feedsubmitter

[Via www.researchbuzz.org]

Google, MSN and Yahoo unite to battle comment spam

The major search engines have unveiled a new indexing command for web authors that they all recognize, one that they hope will help reduce the link and comment spam that plagues many web sites, especially those run by bloggers.

Google, Yahoo, MSN Unite On Support For Nofollow Attribute For Links

[ Via Alex Barnett blog ]

Transform RSS feed to HTML using XSLT stylesheet

This code reads the RSS feed and transform it to HTML using XSLT

(Based on VFP code from Calvin Hsia’s WebLog)

Download XSLT stylesheet

 

try
{
    string rssUrl = "http://blogs.msdn.com/MainFeed.aspx";
    string pathname = @"D:\result.html";
 
    XPathDocument myXPathDoc = new XPathDocument(rssUrl);
    XslTransform myXslTrans = new XslTransform();
 
    // load XSLT stylesheet
    myXslTrans.Load(@"D:\pr.xslt");
    XmlTextWriter myWriter = new XmlTextWriter(pathname, null);
    myXslTrans.Transform(myXPathDoc, null, myWriter, null);
    myWriter.Close();
 
    // read html file after XSL transform
    TextReader textReader = File.OpenText(pathname);
    string content = textReader.ReadToEnd();
    textReader.Close();
 
    // convert html file that has been HTML encoded
    StreamWriter streamWriter = new StreamWriter(pathname, false);
    streamWriter.Write(HttpUtility.HtmlDecode(content));
    streamWriter.Close();
}
catch (Exception e)
{
    Console.Write(e);
}
 


Page 52 of 59« First...102030...5051525354...Last »