<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script from Logfile in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62203#M10370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;be careful with the limit at 27. in QV12, line numbers may be shifted to the right when if a if of for strucutre&lt;/P&gt;&lt;P&gt;example behind :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2018-03-21 10:31:05 0023 NEXT j&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2018-03-21 10:31:05 0024 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0017 FIELD_LIST:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0018&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0019&amp;nbsp; TableName(0) as TableName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0020&amp;nbsp; FieldName(4,TableName(0)) as Champs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0021&amp;nbsp; AutoGenerate 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 12:37:55 GMT</pubDate>
    <dc:creator>olivierrobin</dc:creator>
    <dc:date>2018-03-22T12:37:55Z</dc:date>
    <item>
      <title>Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62194#M10361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there any way to get script of qlik app from its logfile? if possible please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 10:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62194#M10361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T10:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62195#M10362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;you can have part of it.&lt;/P&gt;&lt;P&gt;everything outside a loop OR not containing substitution variable is ok&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;as it is a log, all loops are executed n times ans traced&lt;/P&gt;&lt;P&gt;and substitution variables are expanded&lt;/P&gt;&lt;P&gt;for 2 those 2 parts, you have to rewrite the original code by analyzing loops&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62195#M10362</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-21T16:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62196#M10363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for the reply.but how do we remove the date and timestamp which is a part of log file and also log file is of text format.pleaee suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62196#M10363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T19:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62197#M10364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use Notepad++ for example and its column mode to remove the first columns of the row&lt;/P&gt;&lt;P&gt;after that, you copy all the text and paste it into qlikview script editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62197#M10364</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-22T09:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62198#M10365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To cut the timestamp from the front of a log file, see Olivier Robin's suggestion: &lt;A href="https://community.qlik.com/message/1457373"&gt;Re: Script from Logfile&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Load script is always text, whether embedded inside a QVW document, or as content of an external script file. When you finished formatting and cleaning up your source, either copy the resulting text block in the script editor of a new document, or save the result as a .qvs file and &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/SystemVariables/Include.htm"&gt;$(Include=...)&lt;/A&gt; it in your target document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62198#M10365</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-22T09:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62199#M10366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to do that in qlikview itself without using notepad++.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62199#M10366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T10:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62200#M10367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can paste all in Qlik and use Qlik Editor to remove date ans tile from eache line&lt;/P&gt;&lt;P&gt;but it wont't be as easy as with Notepad++&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62200#M10367</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-22T10:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62201#M10368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Olivier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62201#M10368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T10:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62202#M10369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is and it is extremely easy (and rather funny)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under the motto "&lt;EM&gt;You can use QlikView for (almost) anything&lt;/EM&gt;", create a new document, open script editor and create a LOAD statement for your log file as a fixed width source file. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ScriptLines:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD RecNo() AS LineNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@27:n] AS ScriptLine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM [YourLogFile.log] (fix, unicode);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reload and place a Table Box on the Main sheet with two columns and sort according to LineNo to get the correct order. Check whether everything is correctly read and correct your LOAD options where needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to skip the first 24 lines (check first, it may be different for your version of QV Desktop)&lt;/P&gt;&lt;P&gt;Then use a STORE statement to write back to a .qvs file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you'll still need to remove (probably manually) the table load comments and one or more terminating lines ("Execution finished")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62202#M10369</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-22T12:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62203#M10370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;be careful with the limit at 27. in QV12, line numbers may be shifted to the right when if a if of for strucutre&lt;/P&gt;&lt;P&gt;example behind :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2018-03-21 10:31:05 0023 NEXT j&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2018-03-21 10:31:05 0024 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0017 FIELD_LIST:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0018&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0019&amp;nbsp; TableName(0) as TableName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0020&amp;nbsp; FieldName(4,TableName(0)) as Champs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05 0021&amp;nbsp; AutoGenerate 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018-03-21 10:31:05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62203#M10370</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-22T12:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62204#M10371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Peter,It's very simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62204#M10371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T12:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62205#M10372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh Great! Another one of those v12 "improvements". Can we switch it off?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTOH, we're not easily discouraged and still firmly believe in "&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can use QlikView for (almost) anything&lt;/EM&gt;" (although it may be easier to do it in 11.20 than in 12.xx). So what about this one &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;ScriptLines:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;LOAD LineNo, Mid(ScriptLine, 26) AS ScriptLine;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;LOAD RecNo() AS LineNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trim([@1:n]) AS ScriptLine&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;FROM [YourLogFile.log] (fix, utf8);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fortunately v12 doesn't wrap extremely wide lines anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62205#M10372</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-22T12:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script from Logfile</title>
      <link>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62206#M10373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to skip the first 32 lines, add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;header is 32 lines&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the LOAD options&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 13:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-from-Logfile/m-p/62206#M10373</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-22T13:06:12Z</dc:date>
    </item>
  </channel>
</rss>

