<?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>Search results matching tag 'Log file format conversions'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Log+file+format+conversions&amp;orTags=0</link><description>Search results matching tag 'Log file format conversions'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Can we parse Event description (Message) into only what we want? RESOLVED!!!</title><link>http://forums.iis.net/p/1152794/1911724.aspx#1911724</link><pubDate>Mon, 27 Jul 2009 21:25:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911724</guid><dc:creator>PatrickMc</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried writing your own script for parsing logs exactly the way you want ? We often use biterscripting for that. There is a good example script posted at &lt;a href="http://www.biterscripting.com/SS_WebLogParser.html"&gt;http://www.biterscripting.com/SS_WebLogParser.html&lt;/a&gt; to get you started.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Maybe and answer: script for Firmware version/boot order</title><link>http://forums.iis.net/p/1151598/1893791.aspx#1893791</link><pubDate>Wed, 18 Feb 2009 07:13:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1893791</guid><dc:creator>Old Time Coder</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;Well, WMI and WBEM are the M$ flavors (for MS OS&amp;#39;s) of what you need the server side of the Desktop Management Interface http://en.wikipedia.org/wiki/Desktop_Management_Interface, but the godl mine of specifications is from the Distributed Management Task Force http://www.dmtf.org/home/ on their published documents page, &lt;/p&gt;&lt;p&gt;http://www.dmtf.org/standards/published_documents/&lt;/p&gt;&lt;p&gt;So, it is possible to do it.&amp;nbsp; If you have a system that reports out a Configuration Management Database (CMDB) http://en.wikipedia.org/wiki/CMDB you might be able to suck in what&amp;#39;s needed without building a whole lot of new code. &lt;/p&gt;&lt;p&gt;O.T.C. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Sample script to parse web logs</title><link>http://forums.iis.net/p/1150818/1889634.aspx#1889634</link><pubDate>Sun, 11 Jan 2009 18:54:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889634</guid><dc:creator>PatrickMc</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a good sample of how to parse web logs at &lt;a href="http://www.biterscripting.com/Download/SS_WebLogParser.txt"&gt;http://www.biterscripting.com/Download/SS_WebLogParser.txt&lt;/a&gt; . You can modify it to meet your requirements. I am a system admin and have been using a lot of variants of that script on a daily basis. Works on all Windows versions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;</description></item><item><title>inconsistent results when running query from command line and using com objects</title><link>http://forums.iis.net/p/1152118/1880922.aspx#1880922</link><pubDate>Wed, 01 Oct 2008 17:17:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1880922</guid><dc:creator>mmendenhall</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I am trying to use logparser to monitor avg transaction times and transaction counts using a windows service but i get different results when running the queries from the command line and from my service. For example:&lt;/p&gt;&lt;p&gt;Running from the command line:&lt;/p&gt;&lt;p&gt;logparser &amp;quot;SELECT Count(*) FROM C:\WINDOWS\system32\LogFiles\W3SVC2\ex081001.log WHERE SUB(TO_INT(TO_TIME(SYSTEM_TIMESTAMP())),TO_INT(TO_TIME(time))) &amp;lt;= 300 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;gives me this output:&lt;/p&gt;&amp;nbsp;COUNT(ALL *)&lt;br /&gt;&lt;p&gt;------------&lt;br /&gt;18&lt;br /&gt;&lt;br /&gt;Statistics:&lt;br /&gt;-----------&lt;br /&gt;Elements processed: 62&lt;br /&gt;Elements output:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;Execution time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Running from my service the following code:&lt;/p&gt;&lt;p&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; string query = &amp;quot;SELECT Count(*) FROM &amp;quot; + FilePath + &amp;quot; WHERE SUB(TO_INT(TO_TIME(SYSTEM_TIMESTAMP())),TO_INT(TO_TIME(time))) &amp;lt;= 300&amp;quot;;&lt;br /&gt;&lt;/p&gt;&lt;p&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 oLogQuery = 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; COMIISW3CInputContextClassClass format = new COMIISW3CInputContextClassClass();&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; COMNativeOutputContextClassClass outformat = new COMNativeOutputContextClassClass();&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; &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; oLogQuery.ExecuteBatch(query, format, outformat); &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;gives me this output:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;COUNT(ALL *)&lt;br /&gt;------------&lt;br /&gt;62 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It looks like for some reason it spits out the elements processed instead of the result of the query..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas? All help is greatly appreciated. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Need all  SiteStatistics information</title><link>http://forums.iis.net/p/1148049/1863919.aspx#1863919</link><pubDate>Wed, 20 Feb 2008 12:29:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1863919</guid><dc:creator>nirmalacygnus</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I creating site statistics tool.For that&amp;nbsp;I&amp;nbsp;have stored the log file information into Sql server database through ODBC logging Option in IIS.. I got date, time, ip, port,target,status,error status and also. But i need the brower,session,platform,robots,refferer information.. Can anyone help me?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Fusioncharts + logparser</title><link>http://forums.iis.net/p/1148001/1863714.aspx#1863714</link><pubDate>Fri, 15 Feb 2008 11:29:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1863714</guid><dc:creator>jose_gisbert</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;0) Put Doughnut2D.swf&amp;nbsp; + example.html + chart.bat + chart.tpl in a folder &lt;br /&gt;&lt;/p&gt;&lt;p&gt;1) example.html Code:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;My First FusionCharts&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;body bgcolor=&amp;quot;#ffffff&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object classid=&amp;quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&amp;quot; codebase=&amp;quot;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; id=&amp;quot;Column3D&amp;quot; &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;Doughnut2D.swf&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name=&amp;quot;FlashVars&amp;quot; value=&amp;quot;&amp;amp;dataURL=data.xml&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;embed src=&amp;quot;Doughnut2D.swf&amp;quot; flashVars=&amp;quot;&amp;amp;dataURL=Data.xml&amp;quot; quality=&amp;quot;high&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; name=&amp;quot;Column3D&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; pluginspage=&amp;quot;http://www.macromedia.com/go/getflashplayer&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;p&gt;2) chart.tpl code like this, to format the XML source of FusionCharts:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;chart caption=&amp;#39;Cantidad de Eventos&amp;#39; yAxisName=&amp;#39;Total&amp;#39; xAxisName=&amp;#39;EventID&amp;#39; &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;set label=&amp;quot;%EventID%&amp;quot; value=&amp;quot;%Total%&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/chart&amp;gt;&lt;/p&gt;&lt;p&gt;3) chart.bat logparser code&lt;/p&gt;&lt;p&gt;&amp;nbsp;logparser &amp;quot;select eventid, count(*) as total into data.xml from security group by eventid order by total DESC&amp;quot; -i:evt -o:tpl -tpl:chart.tpl&lt;/p&gt;&lt;p&gt;4) run chart.bat then view the results in chart.html . Fusioncharts i free to use, only insert a litle mark in your charts, but, they are greats.&lt;/p&gt;Enjoy !&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: problem with parent directory of my site</title><link>http://forums.iis.net/p/1146463/1857082.aspx#1857082</link><pubDate>Wed, 03 Oct 2007 20:23:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1857082</guid><dc:creator>dimitrakopoulos</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;Can write any command to change my word documents,if yes which are these commands? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;P.S: I don&amp;#39;t want to change the attribute of the folder &amp;quot;files&amp;quot;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>problem with parent directory of my site</title><link>http://forums.iis.net/p/1146463/1857069.aspx#1857069</link><pubDate>Wed, 03 Oct 2007 15:07:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1857069</guid><dc:creator>dimitrakopoulos</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;p&gt;Hello, i have a site and when you are writing &lt;b&gt;www.example.com/files&lt;/b&gt; appears the files of my site which are word documents.&lt;/p&gt;&lt;p&gt;For example: &lt;b&gt;www.example.com/files&lt;/b&gt;&lt;/p&gt;&lt;h1&gt;Index of /files&lt;/h1&gt;
&lt;p&gt;&lt;b&gt;Parent Directory&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;test1.doc&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;test2.doc&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;These word documents are uploading from other users and i trust them very much.I don&amp;#39;t want to change the attribute of the folder &amp;quot;files&amp;quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I want to tell me what can make to my site someone &amp;quot;stranger&amp;quot; if&amp;nbsp; understanding that my parent directory is &amp;quot;open&amp;quot;.&lt;/p&gt;&lt;p&gt;Can write any command to change my word documents,if yes which are these commands?&lt;/p&gt;&lt;p&gt;Is very important for me to now what can make to me!!!&lt;/p&gt;&lt;p&gt;Thanks you a lot guys. &lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>RE: Custom input format with field info on first line of log file</title><link>http://forums.iis.net/p/1145896/1855265.aspx#1855265</link><pubDate>Wed, 06 Jun 2007 08:11:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1855265</guid><dc:creator>LogParser User : lvth</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>&lt;P&gt;Thanks Glassdrum, but my problem was not how to skip header lines. I'm looking for a way to tell logparser how to decode the fields on the other lines based on the column info on the line 4 (last header).&lt;/P&gt;&lt;P&gt;Luigi&lt;/P&gt;</description></item><item><title>RE: Custom input format with field info on first line of log file</title><link>http://forums.iis.net/p/1145896/1855264.aspx#1855264</link><pubDate>Wed, 06 Jun 2007 00:02:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1855264</guid><dc:creator>LogParser User : Glassdrum</dc:creator><cs:applicationKey>advanced_topics-51</cs:applicationKey><description>I believe you should be able to use the -nSkiplines: switch to skip the header lines in your log file.</description></item></channel></rss>