<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Output Targets</title><link>http://forums.iis.net/1142.aspx</link><description>Discussion of output formats such as CHART, CSV, TSV, DATAGRID, IIS, NAT, SQL SYSLOG, TPL, W3C, and XML</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>LP Stats</title><link>http://forums.iis.net/thread/1926071.aspx</link><pubDate>Tue, 24 Nov 2009 21:57:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926071</guid><dc:creator>hg363</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1926071.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1926071</wfw:commentRss><description>&lt;p&gt;Good evening&amp;nbsp;to all LP forum members. My question. When a query is executed via the command console LP will generate some stats after executing the query. For example&lt;/p&gt;
&lt;p&gt;Statistics:&lt;br /&gt;-----------&lt;br /&gt;Elements processed: 2411&lt;br /&gt;Elements output:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;Execution time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.20 seconds&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;C:\Program Files\Log Parser 2.2&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How would one get these stats if the query was run from a vbscript. In other words if I run this script&lt;/p&gt;
&lt;p&gt;Set objShell = CreateObject(&amp;quot;WScript.Shell&amp;quot;)&lt;/p&gt;
&lt;p&gt;objShell.CurrentDirectory = &amp;quot;&lt;a&gt;\\h505050\C$\Program&lt;/a&gt; Files\Log Parser 2.2\&amp;quot;&lt;/p&gt;
&lt;p&gt;string_is = &amp;quot;-i:EVT -o:DATAGRID &amp;quot; &amp;amp;&amp;nbsp; &amp;quot;&amp;quot;&amp;quot;SELECT&amp;nbsp; sourcename, timegenerated AS EventTime, message AS Message FROM &lt;a&gt;\\h101010\system&lt;/a&gt; WHERE sourcename like &amp;#39;USER32%&amp;#39;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;objshell.run (&amp;quot;LogParser &amp;quot; &amp;amp; string_is) &lt;/p&gt;
&lt;p&gt;How after LP has generated the output can I also see the stats as shown above?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards Ghelani UK&lt;/p&gt;</description></item><item><title>Send raw data input as a column for output</title><link>http://forums.iis.net/thread/1925678.aspx</link><pubDate>Fri, 20 Nov 2009 23:11:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1925678</guid><dc:creator>TazzyTazzy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1925678.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1925678</wfw:commentRss><description>
&lt;p&gt;Kind of a wierd request, considering logparser is meant to split up stuff..&lt;/p&gt;

&lt;p&gt;I have various log files where the datetime is always the first two columns.&amp;nbsp; I&amp;#39;ve managed to get that into a single timestamp column.&amp;nbsp; However, the number of columns varies from log file to log file.&amp;nbsp; I want to simply extract the date/time (done), and send the remaining columns as a single column out in CSV (or &amp;#39;|&amp;#39;) form.&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Example:&lt;/p&gt;

&lt;p&gt;Log 1&lt;/p&gt;

&lt;p&gt;Date|Time|NID|Some Header|Another Header&lt;br /&gt;
11/20/2009|12:29:45|864|Something|or another&lt;br /&gt;
11/20/2009|12:29:46|964|Something|or another&lt;br /&gt;
11/20/2009|12:29:55|692|Something|or another&lt;/p&gt;

&lt;p&gt;Log 2 &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Date|Time|NID|Some Header|Another Header|This Header|That Header&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;11/20/2009|11:39:45|222|Something|or another|and another|and whatever&lt;br /&gt;
11/20/2009|11:39:46|362|Something|or another|and another|and whatever&lt;br /&gt;
11/20/2009|11:39:55|454|Something|or another|and another|and whatever&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Here&amp;#39;s what I have so far:&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;select TO_TIMESTAMP(MyDate, MyTime) as DateTime &lt;br /&gt;USING TO_TIMESTAMP(Date, &amp;#39;M/d/yyyy&amp;#39;) as MyDate,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO_TIMESTAMP(Time, &amp;#39;hh:mm:ss&amp;#39;) as MyTime&lt;/p&gt;

&lt;p&gt;&amp;nbsp;So, what can I use in the SELECT section to get the remainder headers?&amp;nbsp; I would like to use the same script across all log files.&amp;nbsp; The log files can change, only thing that stays constant is the Date/Time.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;OR...&lt;/p&gt;

&lt;p&gt;How do send the entire input line out within a colum.&amp;nbsp; Something like:&lt;/p&gt;&lt;p&gt;SELECT MyDate, * as SomeRow &lt;/p&gt;&lt;p&gt;&amp;nbsp;Obviously, that&amp;#39;s not going to work, but that&amp;#39;s essentially what I&amp;#39;d like to get done.&amp;nbsp; Thanks.&lt;/p&gt;&lt;p&gt;-Mitch &lt;br /&gt;&lt;/p&gt;
</description></item><item><title>Personal Daily Log parse</title><link>http://forums.iis.net/thread/1924644.aspx</link><pubDate>Fri, 13 Nov 2009 16:28:53 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924644</guid><dc:creator>sunchess</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1924644.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1924644</wfw:commentRss><description>Hi! I search a way to parse my personal daily log. I write it in a text file in this way:

13.11.2009 // 17:24:12,98 // Make some staff, and fix the roof
13.11.2009 // 17:24:25,92 // Paint door red
(echo %date% // %time% // %*&amp;gt;&amp;gt;D:\users\dailylog.txt)

Now I want to view my log like a styled html file. How can i do this? I read manual, and there is extract_token can help to cut out date and leave text only, but cant make a correct query (but im close =)

And, more complicated and hard question — can i do an html output with date headers, to view my log by days? 

Like so:

13.11.2009
first log string
second log string
etc...

12.11.2009
first log string
second log string

Thanks!</description></item><item><title>COMIISOutputContextClassClass uses commas as delimiter? I was expecting the IIS format :(</title><link>http://forums.iis.net/thread/1913248.aspx</link><pubDate>Tue, 11 Aug 2009 23:43:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1913248</guid><dc:creator>maximusdm</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1913248.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1913248</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;My log output is using commas instead of using the IIS format. What am I doing wrong?&lt;br /&gt;Here is my code:&lt;/p&gt;
&lt;p&gt;public static bool GetResultsFromBatch(string query)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;LogQueryClassClass LogParser = new LogQueryClassClass();&lt;br /&gt;&amp;nbsp;COMIISW3CInputContextClassClass pObjInput&amp;nbsp; = new COMIISW3CInputContextClassClass();&lt;br /&gt;&amp;nbsp;COMIISOutputContextClassClass pObjOutput = new COMIISOutputContextClassClass(); //comma and without header&lt;/p&gt;
&lt;p&gt;&amp;nbsp;try&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;LogParser.ExecuteBatch(query, pObjInput, pObjOutput);&lt;br /&gt;&amp;nbsp;&amp;nbsp;return true;&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;catch (Exception e)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>JScript Template Output</title><link>http://forums.iis.net/thread/1905417.aspx</link><pubDate>Tue, 02 Jun 2009 07:56:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1905417</guid><dc:creator>ghostamorx</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1905417.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1905417</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When creating template output format what are the parameters to show it where the template file is&lt;/p&gt;&lt;p&gt;&amp;nbsp;var oOutputFormat = new ActiveXObject(&amp;quot;MSUtil.LogQuery.TemplateOutputFormat&amp;quot;);&lt;/p&gt;&lt;p&gt;in logparser command I can execute&amp;nbsp; it like this -o:tpl -tpl:TEMPLATE.tpl&amp;gt;TEMPLATE.htm but how to write it in jscript&lt;/p&gt;&lt;p&gt;thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Active Directory Output Problem</title><link>http://forums.iis.net/thread/1922370.aspx</link><pubDate>Tue, 27 Oct 2009 19:02:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922370</guid><dc:creator>hg363</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1922370.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1922370</wfw:commentRss><description>&lt;p&gt;Hi to all forum members. Please can some one kindly help me with this slight problem.&lt;/p&gt;
&lt;p&gt;I am running a query using LP and it works fine, except that the data when written to a CSV file is all on one line. Here is the query&lt;/p&gt;
&lt;p&gt;&amp;nbsp;output_path = &amp;quot;&amp;#39;C:\WINDOWS\Temp\joop\&amp;quot; &amp;amp; user_name &amp;amp; &amp;quot;\Group Membership.csv&amp;#39;&amp;quot;&lt;/p&gt;
&lt;p&gt;Set objinputformat = CreateObject(&amp;quot;MSUtil.LogQuery.ADSInputFormat&amp;quot;)&lt;/p&gt;
&lt;p&gt;Set objoutputformat = CreateObject(&amp;quot;MSUtil.LogQuery.CSVoutputFormat&amp;quot;)&lt;/p&gt;
&lt;p&gt;objinputformat.objClass = &amp;quot;user&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;strQuery = &amp;quot;SELECT cn, memberOf&amp;nbsp; INTO &amp;quot; &amp;amp; output_path &amp;amp; &amp;quot; FROM &amp;#39;Domain Name&amp;#39; where sAMAccountName=&amp;#39;HG363&amp;#39;&amp;quot;&lt;/p&gt;
&lt;p&gt;objLogParser.ExecuteBatch strQuery, objInputFormat , objOutputFormat&lt;/p&gt;
&lt;p&gt;Please can some one show me what I need to do to fix this, kind regards HG363 London UK&lt;/p&gt;</description></item><item><title>Bug with LogParser - Truncates event log Message string in Datagrid</title><link>http://forums.iis.net/thread/1921798.aspx</link><pubDate>Thu, 22 Oct 2009 19:32:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921798</guid><dc:creator>agc1</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1921798.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1921798</wfw:commentRss><description>&lt;p&gt;It appears that LogParser truncates the event log message string if using either the DataGrid or SQL outputs (I haven&amp;#39;t tested other outputs yet)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is this a bug with LP or is there a setting that I haven&amp;#39;t seen to enable the entire message to be sent to the DataGrid or SQL?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>SQL output question.</title><link>http://forums.iis.net/thread/1921138.aspx</link><pubDate>Mon, 19 Oct 2009 03:31:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921138</guid><dc:creator>monty124</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1921138.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1921138</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;HI,&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I have been browsing the forum for a while and it has helped me in putting together a script to collect Event Logs and dump them into a SQL 2005 database.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;My question is, am I able to include a custom field to be entered into a custom column in SQL? Basically I want to be able to assign a variable, and write that variable to an additional column in&amp;nbsp;the SQL&amp;nbsp;table along with the data in the event logs.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Is this possible and how can I do it?&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thanks.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to append data</title><link>http://forums.iis.net/thread/1903356.aspx</link><pubDate>Mon, 11 May 2009 16:16:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903356</guid><dc:creator>adoyt</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1903356.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1903356</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using logparser to upload data to a SQL DB and my DBA has some audit elements that they require be populated.&amp;nbsp; So, I need to add my username and the current time to the list of fields being populated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TYIA&lt;/p&gt;</description></item><item><title>Code for using COM object for C# .Net with SQL Output</title><link>http://forums.iis.net/thread/1906236.aspx</link><pubDate>Mon, 08 Jun 2009 20:45:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906236</guid><dc:creator>Solburn17</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1906236.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1906236</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s my code that works. I actually dumped log files from System, Application and Security logs into the database.&lt;/p&gt;&lt;p&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;&lt;br /&gt;// Log Parser 2.2&lt;br /&gt;using MSUtil;&lt;br /&gt;&lt;br /&gt;namespace LogParser2 {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public partial class _Default :System.Web.UI.Page {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // constants&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; const string iCHECKPOINT_FILE_LOCATION = @&amp;quot;c:\checkpoint.lpc&amp;quot;; // iCheckpoint allows incremental parsing&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetSystemEventLogToSql();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void GetSystemEventLogToSql() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Instantiate the LogQuery object&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LogQueryClassClass LogQuery = new LogQueryClassClass();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Instantiate the Event Log Input Format object&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMEventLogInputContextClassClass EvtInputFormat = new COMEventLogInputContextClassClass();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set Input Parameters.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtInputFormat.direction = &amp;quot;BW&amp;quot;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // iCheckpoint parses input incrementally. Give it a location.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtInputFormat.iCheckpoint = @&amp;quot;c:\checkpoint.lpc&amp;quot;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Instantiate the Event Log Output Format object&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMSQLOutputContextClassClass EvtOutputFormat = new COMSQLOutputContextClassClass();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set Output Parameters&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtOutputFormat.driver = &amp;quot;SQL Server&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtOutputFormat.server = &amp;quot;ServerName&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtOutputFormat.database = &amp;quot;DatabaseName&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtOutputFormat.username = &amp;quot;UserName&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtOutputFormat.password = &amp;quot;Password&amp;quot;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // I created the tables and added an ID Column. It needs to be ignored during the insert.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EvtOutputFormat.ignoreIdCols = true;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create the query&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // tblLogWebSystem is the name of the table I am inserting these records into in my DB&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string Query = @&amp;quot;SELECT * FROM TO tblLogWebSystem&amp;quot;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Execute the query into SQL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LogQuery.ExecuteBatch(Query, EvtInputFormat, EvtOutputFormat);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(&amp;quot;Done&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(System.Runtime.InteropServices.COMException exc) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(&amp;quot;Unexpected error: &amp;quot; + exc.Message);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>parameter substitution in vbscript</title><link>http://forums.iis.net/thread/1919131.aspx</link><pubDate>Thu, 01 Oct 2009 11:03:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919131</guid><dc:creator>pilmart</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1919131.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1919131</wfw:commentRss><description>&lt;p&gt;Hi there my query is this, when using logparser at the command-line it&amp;#39;s possible to pass&amp;nbsp;DOS variables into template files so that those output variables are &amp;#39;copied in&amp;#39; to the final output file. &lt;/p&gt;
&lt;p&gt;For instance if I set server=server1, I create a variable called server with the value server1 Then in my template file I reference it as %server%.&lt;/p&gt;
&lt;p&gt;So when the template file is rendered the value &amp;quot;server1&amp;quot; is substituted Now what I would like to know is can this be replicated when calling logparser using VBScript and if so how ??? &lt;/p&gt;
&lt;p&gt;Many Thanks&lt;/p&gt;</description></item><item><title>CHART config (value labels)</title><link>http://forums.iis.net/thread/1916049.aspx</link><pubDate>Mon, 07 Sep 2009 13:35:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916049</guid><dc:creator>zumsel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1916049.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1916049</wfw:commentRss><description>&lt;p&gt;Hi there&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using a simple js to pimp my charts. Unfortunately I found out that its not possible to change the angle of X axis labels.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But is it possible to change the color, font and size of the lable on top of columns when using -values:ON&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;z.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Trouble with iCheckpoint IISW3C to SQL</title><link>http://forums.iis.net/thread/1914856.aspx</link><pubDate>Thu, 27 Aug 2009 18:30:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914856</guid><dc:creator>jhpope</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1914856.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1914856</wfw:commentRss><description>&lt;p&gt;I am using Logparser to parse IIS logs into SQL. I am trying to use iCheckpoint to avoid duplicate entries. The query works, but when I run the query again, the SQL table doubles and the same entries are added. So it seems it is not picking up from where it left off. I&amp;#39;m just using test logs so nothing is being added to them so I assume no entries should be added to the table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here is my query &lt;br /&gt;&lt;/p&gt;&lt;p&gt;LogParser &amp;quot;SELECT TO_TIMESTAMP(date, time) AS date, SUBSTR(cs-uri-query, 8) AS csuriquery, cs(Referer) INTO TestTable FROM C:\TestLogs\u_ex*.log WHERE cs-uri-stem = &amp;#39;/Index.Aspx&amp;#39; AND cs-method &amp;lt;&amp;gt; &amp;#39;POST&amp;#39; AND cs(User-Agent) NOT IN (SELECT cs(User-Agent) FROM C:\TestLogs\bots.list)&amp;quot; -i:IISW3C -iCheckPoint:C:\TestLogs\checkPoint.lpc -o:SQL -server:testServer -database:TestDB&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>SQLXML 3.0 on 64BIT 2008</title><link>http://forums.iis.net/thread/1914792.aspx</link><pubDate>Thu, 27 Aug 2009 13:39:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914792</guid><dc:creator>blyons86</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1914792.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1914792</wfw:commentRss><description>&lt;p&gt;I have SQLXML 3.0 installed on my 64bit 2008 server. Every time I open Configure IIS Support, I receive an error &amp;quot;An error occurred connecting to &amp;#39;server&amp;#39;. This server does not exist or is unavailable&amp;quot;. Any one have an idea as to what could be causing this? I have 32bit applications in IIS set to &amp;#39;True&amp;#39;. It works fine on my 32bit 2008 server.&lt;/p&gt;</description></item><item><title>Why is the SQL output target so slow?</title><link>http://forums.iis.net/thread/1912939.aspx</link><pubDate>Sun, 09 Aug 2009 03:34:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912939</guid><dc:creator>PWills</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1912939.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1912939</wfw:commentRss><description>Frustrated with the speed of the SQL output directives, I just ran a little experiment.

I used -o:sql to dump a log query on a 10MB IIS file. It took 2:30 (I&amp;#39;m using the COM wrapper).

I then used the &amp;quot;interactive mode&amp;quot; in COM, assembled a System.Data.DataTable by hand, and then used System.Data.SqlClient.SqlBulkCopy to bulk insert to the database. It took 18ms.

I don&amp;#39;t understand why LogParser&amp;#39;s -o:sql output directive is over 8000x slower than my crappy code. Am I doing something wrong, or is this a known issue?

I&amp;#39;m using SQL Server 2008, if that makes any difference.</description></item><item><title>Bugreport: XML output with oCodepage=0 produces incorrect XML</title><link>http://forums.iis.net/thread/1912698.aspx</link><pubDate>Thu, 06 Aug 2009 12:28:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912698</guid><dc:creator>suhanovsergey</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1912698.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1912698</wfw:commentRss><description>Hello!&lt;br /&gt;&lt;br /&gt;
When oCodepage is set to 0 XMLOutputFormat writes an XML with no encoding attribute in &amp;lt;?xml..&amp;gt; section. According to standard that must be treated as UTF-8 by a parser which might result to pasring errors on non-english characters. XMLOutputFormat must write the name of the current system encoding, for instance &lt;pre&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;windows-1251&amp;quot; standalone=&amp;quot;yes&amp;quot; ?&amp;gt;&lt;/pre&gt;.</description></item><item><title>Seems that ETW-live works only with NAT</title><link>http://forums.iis.net/thread/1912697.aspx</link><pubDate>Thu, 06 Aug 2009 11:56:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912697</guid><dc:creator>suhanovsergey</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1912697.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1912697</wfw:commentRss><description>Hello, 

I want to dump events from live ETW session into XML file at realtime. Another tool is going to parse this file as it is being written. 

I tried this command: &amp;quot;LogParser &amp;quot;SELECT * INTO out.xml FROM ExampleTrace&amp;quot; -i:ETW -o:XML&amp;quot;. That created zero-size file 1.xml and the file was empty even after I had interrupted LogParser with Ctrl+C. I would be pretty ok with any other text-based output format but I couldn&amp;#39;t make any output format work as I want.

It seems that ETW-live input work ok only with NAT output with default options (-rtp:10) which makes it useless for realtime dumping purposes. &amp;quot;LogParser &amp;quot;SELECT * FROM ExampleTrace&amp;quot; -i:ETW&amp;quot; works OK, &amp;quot;LogParser &amp;quot;SELECT * FROM ExampleTrace&amp;quot; -i:ETW -rtp:-1&amp;quot; does nothing.

Of course there is a workaround: use LogQuery and write the data however/whereever I want.

Is it a bug or I am doing something wrong?</description></item><item><title>Generate line chart from a CSV file using numbers as X/Y axes (use two or more measure units for Y axis)</title><link>http://forums.iis.net/thread/1911487.aspx</link><pubDate>Fri, 24 Jul 2009 17:22:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911487</guid><dc:creator>Sean_Zhang</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1911487.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1911487</wfw:commentRss><description>&lt;p&gt;I have a CSV file below:&lt;/p&gt;
&lt;p&gt;sequence,value,increment&lt;/p&gt;
&lt;p&gt;1,1000000,0&lt;/p&gt;
&lt;p&gt;2,1000010,10&lt;/p&gt;
&lt;p&gt;3,1000030,20&lt;/p&gt;
&lt;p&gt;4,1000060,30&lt;/p&gt;
&lt;p&gt;I want to generate a line chart w/ field &amp;#39;sequence&amp;#39; as X-axis and field &amp;#39;value&amp;#39;/&amp;#39;increment&amp;#39; as Y-axis.&lt;/p&gt;
&lt;p&gt;How to do that?&lt;/p&gt;
&lt;p&gt;It is quite simple if the value for field a is string rather than numbers.&lt;/p&gt;
&lt;p&gt;Besides, I want to use different measure units for field &amp;#39;value&amp;#39; and &amp;#39;increment&amp;#39; as the value of &amp;#39;increment&amp;#39; is far less than that of &amp;#39;value&amp;#39;&lt;/p&gt;
&lt;p&gt;Thanks in advance~~~&lt;/p&gt;</description></item><item><title>Addational line + data</title><link>http://forums.iis.net/thread/1910680.aspx</link><pubDate>Fri, 17 Jul 2009 15:46:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910680</guid><dc:creator>hg363</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1910680.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1910680</wfw:commentRss><description>&lt;p&gt;Hi please kindly advise. I am running this query&lt;/p&gt;
&lt;p&gt;Set objinputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.TEXTLINEInputFormat&amp;quot;)Set objOutputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.TSVOutputFormat&amp;quot;)objOutputFormat.fileMode = 0&lt;/p&gt;
&lt;p&gt;objOutputFormat.headers = &amp;quot;Auto&amp;quot;&lt;/p&gt;
&lt;p&gt;strQuery =&amp;nbsp; &amp;quot;select&amp;nbsp; top 1 text INTO &amp;#39;\\h505050\C$\wamp\www\helpdesk\nw_audits\&amp;quot; &amp;amp; remote_host &amp;amp; &amp;quot;.txt&amp;#39;&amp;quot; &amp;amp;&amp;nbsp; &amp;quot; from &amp;#39;\\h505050\C$\wamp\www\helpdesk\pc_audits\telent_mac_list\*.txt&amp;#39;&amp;nbsp; where text like &amp;#39;%&amp;quot; &amp;amp; mac_add &amp;amp; &amp;quot;%&amp;#39;&amp;quot;&lt;/p&gt;
&lt;p&gt;And it works fine, expect that for some reason, ach time I run the query I get this&lt;/p&gt;
&lt;p&gt;Text&lt;br /&gt;212,00:17:a4:4e:41:6a,---,1/9,Level 1 Parkwood House @ HH, 192.168.215.149&lt;/p&gt;
&lt;p&gt;The word Text appears + the line of data I actually want. Can some one please tell me how to stop the 1st line TEXT appearing in the output, thank you Regards hg363 UK&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Change Line thickness of -o:CHART</title><link>http://forums.iis.net/thread/1909244.aspx</link><pubDate>Mon, 06 Jul 2009 04:43:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909244</guid><dc:creator>pentiumeric</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1909244.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1909244</wfw:commentRss><description>&lt;p&gt;For the chart output, how would i change the thickness of the chart?&lt;/p&gt;</description></item><item><title>Generate Line Chart (3 lines) from a CSV file</title><link>http://forums.iis.net/thread/1908938.aspx</link><pubDate>Thu, 02 Jul 2009 02:00:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908938</guid><dc:creator>pentiumeric</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1908938.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1908938</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;Hello,&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;CSV file A&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;Date, Place, Level&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;12/6, A site, 12.435&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;13/6, A site, 53.454&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;14/6, A site, 1.545&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;12/6, B site, 43.456&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;13/6, B site, 14.542&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;14/6, B site, 21.512&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;12/6,&amp;nbsp;C site, 12.212&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;13/6, C site, 2.321&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;14/6, C site, 32.514&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;I have a CSV file like the one above. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;I would like output a line chart, with 3 lines, one of A, one for B and one for C&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;X-axis would be Date, and Y-axis would be Level.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;If the CSV file is organized as below, I could generate the chart I want easily&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;CSV file B&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;Date,&amp;nbsp;A Site, B&amp;nbsp;Site C Site&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;12/6,&amp;nbsp;12.435, 43.456, 12.212&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;13/6,&amp;nbsp;53.454, 14.542, 2.321&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;14/6,&amp;nbsp;1.545, 21.512, 32.514&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;Would anyone advise on plotting the graph directly from CSV file A, or a method to convert file A to B?&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;I am a newbie of Log Parser, just use it for one week&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;Regards,&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;Eric&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Trying to get the last 15 min from a hourly IIS log</title><link>http://forums.iis.net/thread/1906409.aspx</link><pubDate>Tue, 09 Jun 2009 19:24:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906409</guid><dc:creator>maximusdm</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1906409.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1906409</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello all,&lt;/p&gt;
&lt;p&gt;The query below always returns &amp;quot;zero&amp;quot; elements. What am I doing wrong?&lt;br /&gt;The records on the file below range from 2009-05-30 14:59:59 --&amp;gt; 2009-05-30 15:59:59&lt;/p&gt;
&lt;p&gt;logparser &amp;quot;SELECT time, cs-uri-stem INTO C:\Temp\15min.csv FROM C:\Temp\ex09053010.log&amp;quot; -minDateMod:&amp;quot;2009-05-30 15:45:00&amp;quot; -o:csv&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Inserting higher resolution dates into SQL Server 2008 datetime2 type</title><link>http://forums.iis.net/thread/1903704.aspx</link><pubDate>Thu, 14 May 2009 06:35:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903704</guid><dc:creator>MikeGale</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1903704.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1903704</wfw:commentRss><description>&lt;p&gt;I have some time data in logs with a sub-second time resolution.&lt;/p&gt;
&lt;p&gt;I can get this safely into log parser using the iTsFormat setting.&lt;/p&gt;
&lt;p&gt;When I put that into SQL Server 2008 I have (so far) gotten the times in seconds (loss of resolution).&amp;nbsp; The target field is datetime2 (not datetime).&lt;/p&gt;
&lt;p&gt;How do I preserve the resolution when inserting the data?&lt;/p&gt;</description></item><item><title>Looking for someone to help me with this please</title><link>http://forums.iis.net/thread/1903401.aspx</link><pubDate>Tue, 12 May 2009 05:19:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903401</guid><dc:creator>stranger_09</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903401.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1903401</wfw:commentRss><description>I want to &lt;font face="CalistoMT" size="3"&gt;create XSLT stlyesheet (&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;task1.xslt&lt;/font&gt;&lt;font face="CalistoMT" size="3"&gt;) that results in a bilingual dictionary (&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;task1.xml&lt;/font&gt;&lt;font face="CalistoMT" size="3"&gt;) in XML format. &lt;/font&gt;&lt;font face="CalistoMT" size="3"&gt;&lt;font face="Calibri" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="CalistoMT" size="3"&gt;&lt;font face="Calibri" size="2"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;‐&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;8&amp;quot;?&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri" size="2"&gt; 
&lt;p align="left"&gt;&amp;lt;!DOCTYPE wordList [&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;!ELEMENT wordList (wordEntry+)&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;!ELEMENT wordEntry (word+)&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;!ELEMENT word (#PCDATA)&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;!ATTLIST word language (en|es|it|nl) #REQUIRED&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;]&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;wordList&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;.. .. ..&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;wordEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;en&amp;quot;&amp;gt;Abel&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;es&amp;quot;&amp;gt;Abel&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;es&amp;quot;&amp;gt;Caín&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;it&amp;quot;&amp;gt;Caino&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;it&amp;quot;&amp;gt;Abele&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;nl&amp;quot;&amp;gt;Abel&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;nl&amp;quot;&amp;gt;Kaïn&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;/wordEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;wordEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;en&amp;quot;&amp;gt;Abel&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;es&amp;quot;&amp;gt;Abel&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;es&amp;quot;&amp;gt;Caín&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;it&amp;quot;&amp;gt;Caino Bibbia&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;it&amp;quot;&amp;gt;Abele Bibbia&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;nl&amp;quot;&amp;gt;Abel Hebreeuwse bijbel&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;nl&amp;quot;&amp;gt;Kaïn&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;/wordEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;wordEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;en&amp;quot;&amp;gt;Adagio in G minor&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;word language=&amp;quot;it&amp;quot;&amp;gt;Adagio in Sol minore Albinoni&amp;lt;/word&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;/wordEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;.. .. ..&lt;/p&gt;
&lt;p&gt;&amp;lt;/wordList&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font face="CalistoMT" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="CalistoMT" size="3"&gt;&lt;font face="CalistoMT" size="3"&gt;This is an example of the desired output &lt;/font&gt;&lt;font face="Calibri" size="3"&gt;task1.xml (&lt;/font&gt;&lt;font face="CalistoMT" size="3"&gt;if we used the example from the previous&lt;/font&gt;&lt;/font&gt;&lt;font face="CalistoMT" size="3"&gt; 
&lt;p align="left"&gt;section as the input):&lt;/p&gt;&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;‐&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;8&amp;quot;?&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;&amp;lt;Dictionary xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;‐&lt;/font&gt;&lt;font face="Calibri" size="2"&gt;instance&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri" size="2"&gt; 
&lt;p align="left"&gt;xsi:noNamespaceSchemaLocation=&amp;quot;task1.xsd&amp;quot;&lt;/p&gt;
&lt;p align="left"&gt;from=&amp;quot;nl&amp;quot;&lt;/p&gt;
&lt;p align="left"&gt;to=&amp;quot;es&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;.. .. ..&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;dictionaryEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;search&amp;gt;Abel&amp;lt;/search&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;replace&amp;gt;Abel&amp;lt;/replace&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;/dictionaryEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;dictionaryEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;search&amp;gt;Abel&amp;lt;/search&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;replace&amp;gt;Caín&amp;lt;/replace&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;/dictionaryEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;dictionaryEntry&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;search&amp;gt;Kaïn&amp;lt;/search&amp;gt;&lt;/p&gt;
&lt;p align="left"&gt;&amp;lt;replace&amp;gt;Abel&amp;lt;/replace&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/dictionaryEntry&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Make a webpage showing FTP logs</title><link>http://forums.iis.net/thread/1902185.aspx</link><pubDate>Tue, 28 Apr 2009 20:42:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902185</guid><dc:creator>ghostamorx</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1902185.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1142&amp;PostID=1902185</wfw:commentRss><description>&lt;p&gt;I have a problem. I&amp;#39;d like to create a page that shows FTP logs on it.
What I mean is that if a client uploads files to ftp server, the page
shows exatcly which folder and what time the files were uploaded. I
could use LogParser somehow to make SQL queries to change the way the
page shows information. I just don&amp;#39;t know how or where to start.&lt;/p&gt;&lt;div style="display:none;" id="divCleekiAttrib"&gt;&lt;/div&gt;&lt;div style="display:none;" id="divCleekiAttrib"&gt;&lt;/div&gt;</description></item></channel></rss>