<?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>Input Formats</title><link>http://forums.iis.net/1141.aspx</link><description>Discussion of input formats such as ADS, BIN, COM, CSV, TSV, ETW, EVT, FS, HTTPERR, IIS, IISODBC, IISW3C, NCSA, NETMON, REG, TEXTWORD, TEXTLINE, URLSCAN, and W3C</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Break string</title><link>http://forums.iis.net/thread/1909969.aspx</link><pubDate>Fri, 10 Jul 2009 22:03:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909969</guid><dc:creator>hg363</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909969.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1909969</wfw:commentRss><description>&lt;p&gt;Hi look thank you very much indeed &amp;nbsp;for taking the time to show me. May I please ask more question as I very new to LP, how would one pass the TEXTLINE found by LP to this script. So weather I use this method&lt;/p&gt;
&lt;p&gt;objLogParser.ExecuteBatch strQuery, objInputFormat, objOutputFormat&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;or this method&lt;/p&gt;
&lt;p&gt;objShell.run (&amp;quot;LogParser &amp;quot; &amp;amp; string_is) &lt;/p&gt;
&lt;p&gt;how when LP finds that data I am looking for do I then get LP to pass it to the script, please will you kindly show me kind regards HG UK&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Break string</title><link>http://forums.iis.net/thread/1909963.aspx</link><pubDate>Fri, 10 Jul 2009 21:25:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909963</guid><dc:creator>kateroh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909963.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1909963</wfw:commentRss><description>&lt;p&gt;Oh, sorry, it was C#. Here is VB:&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Dim&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;reader&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;As&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;StringReader&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;=&amp;nbsp;New&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;StringReader(logText)&lt;br /&gt;&lt;/font&gt;&lt;font color="blue"&gt;Dim&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;line&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;As&amp;nbsp;String&amp;nbsp;=&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;reader.ReadLine()&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="blue"&gt;While&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;(&lt;/font&gt;&lt;font color="black"&gt;line&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;Is&amp;nbsp;Not&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;Nothing)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;Dim&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;linePieces()&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;As&amp;nbsp;String&amp;nbsp;=&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;line.&lt;/font&gt;&lt;font color="blue"&gt;Split&lt;/font&gt;&lt;font color="black"&gt;(Microsoft.VisualBasic.ChrW(&lt;/font&gt;&lt;font color="maroon"&gt;32&lt;/font&gt;&lt;font color="black"&gt;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;line&amp;nbsp;&lt;/font&gt;&lt;font color="blue"&gt;=&amp;nbsp;&lt;/font&gt;&lt;font color="black"&gt;reader.ReadLine()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/font&gt;&lt;font color="blue"&gt;End&amp;nbsp;While&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Break string</title><link>http://forums.iis.net/thread/1909844.aspx</link><pubDate>Fri, 10 Jul 2009 08:13:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909844</guid><dc:creator>hg363</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909844.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1909844</wfw:commentRss><description>&lt;p&gt;Hi thank you very much for your prompt answer but I suspect the answer you have provided is resolving my problem using some form of programming language. Can this be achieved directly by Log Parser or vbscript? Thank you Mr Ghelani&lt;/p&gt;</description></item><item><title>Re: Break string</title><link>http://forums.iis.net/thread/1909838.aspx</link><pubDate>Fri, 10 Jul 2009 07:50:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909838</guid><dc:creator>kateroh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909838.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1909838</wfw:commentRss><description>&lt;p&gt;using (StringReader reader = new StringReader(logText)) &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp; string line; &lt;br /&gt;&amp;nbsp;&amp;nbsp; // read line by line&lt;br /&gt;&amp;nbsp;&amp;nbsp; while ((line = reader.ReadLine()) != null) &lt;br /&gt;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // split each line into pieces&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string[] linePieces = line.Split(&amp;#39; &amp;#39;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;} &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Break string</title><link>http://forums.iis.net/thread/1909802.aspx</link><pubDate>Thu, 09 Jul 2009 19:46:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909802</guid><dc:creator>hg363</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909802.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1909802</wfw:commentRss><description>&lt;p&gt;Hi to all forum members. Can some one please assist me. I am using LP to interrogate a text file and pull out TEXTLINE data. Here is an example&lt;/p&gt;
&lt;p&gt;204&amp;nbsp;&amp;nbsp; 00:13:21:5f:04:d4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; learned&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; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bridging&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/9 &lt;/p&gt;
&lt;p&gt;Is there any clever way of telling LP that when it finds this data to break it down like this&lt;/p&gt;
&lt;p&gt;204&lt;/p&gt;
&lt;p&gt;00:13:21:5f:04:d4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;learned&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;/p&gt;
&lt;p&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;bridging&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;1/9 &lt;/p&gt;
&lt;p&gt;and if there is please can some one give me an example and demonstrate how this can be done, need this last bit to complete a project. Regards hg363 UK&lt;/p&gt;</description></item></channel></rss>