<?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: Logs generated in qlikview 12.40 cannot be read in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657818#M593666</link>
    <description>&lt;P&gt;I just ran and checked the above script.&lt;/P&gt;&lt;P&gt;only replaced my path in above scipt.&lt;/P&gt;&lt;P&gt;end result is x field with value 0&lt;/P&gt;&lt;P&gt;when tried to debug, it returned below result:&lt;/P&gt;&lt;P&gt;Tempcode &amp;lt;&amp;lt; abc.qvw 1 line fetched&lt;/P&gt;&lt;P&gt;Tempcode &amp;lt;&amp;lt; abc.qvw 2 lines fetched&lt;/P&gt;&lt;P&gt;Tempcode &amp;lt;&amp;lt; abc.qvw 3 lines fetched&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the end result was field X with value 0 on front end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Dec 2019 17:23:11 GMT</pubDate>
    <dc:creator>AC187</dc:creator>
    <dc:date>2019-12-15T17:23:11Z</dc:date>
    <item>
      <title>Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657796#M593663</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we have a application in qlikview where we read data from logs generated from several other applications.&lt;/P&gt;&lt;P&gt;while we were on qlikview 11.2 the logs were read properly with encoding type as below.&lt;/P&gt;&lt;P&gt;load&amp;nbsp;@1:10,@12:20,@37:n&lt;/P&gt;&lt;P&gt;from a\b\c\abc.qvw.log (fix,unicode)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however since after we are testing on qlikview12.40 the data is not read with same encoding configurations.&lt;/P&gt;&lt;P&gt;we tried with encoding (fix,utf8) and (fix,codepage is 1252) but in both cases we have numbers fetched incorrectly in the fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we also tried generating the log files in utf-8 and then setting encoding from section to (fix,utf8) but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone help on how to load &amp;nbsp;and read the document log files in qlikview 12.40?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657796#M593663</guid>
      <dc:creator>AC187</dc:creator>
      <dc:date>2024-11-16T01:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657812#M593664</link>
      <description>&lt;P&gt;On my machine, I'm successful reading 12.40 logs as utf8.&amp;nbsp; However I do find a mix of encoding between versions and I think sometimes between customers.&amp;nbsp; In the &lt;A href="http://qlikviewcookbook.com/recipes/download-info/script-log-analyzer/" target="_self"&gt;Script Log Analyzer&lt;/A&gt;, I use this bit of conditional script to read one row from the log to determine the encoding for that file.&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;// Determine the character encoding of the logfile by reading the first few bytes.&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;// QV11.2 is writing logs in unicode.&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;EACH&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; vEncoding &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;IN&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; 'utf8', 'unicode', 'codepage is 1252';&lt;BR /&gt;TempCode:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;FIRST&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; 1 &lt;/SPAN&gt;// Log first row&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;LOAD&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;IsNum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;left&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(@1:n,1)) &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;X&lt;/SPAN&gt; // Test first char. Set to true if it's a number.&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;FROM&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;[$(_logpath)]&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;fix&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;&lt;I&gt;$(vEncoding)&lt;/I&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;BR /&gt;WHERE RecNo()&amp;gt;1 &lt;/SPAN&gt;// Skip rec 1, which causes problems if it has a BOM (Byte Order Marker)&lt;SPAN class="s1"&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;EXIT&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;WHEN&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;peek&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;('X'); &lt;/SPAN&gt;// If a number, assume we have the right encoding.&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="s1"&gt;&lt;FONT face="courier new,courier"&gt;NEXT vEncoding;&lt;/FONT&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;At the end of the loop vEncoding contains the right encoding which can be used in a subsequent statement to read the entire file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 16:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657812#M593664</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-12-15T16:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657814#M593665</link>
      <description>&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;i tried separately with each type.&lt;/P&gt;&lt;P&gt;(fix,unicode) nothing returned&lt;/P&gt;&lt;P&gt;(fix,codepage is 1252)&lt;/P&gt;&lt;P&gt;(fix,utf8) values returned but were incorrect , i mean the date which i tried to pick&amp;nbsp;@1:10 from log should ideally pick only date i.e execution date but 3 values were picked with broken dates.&lt;/P&gt;&lt;P&gt;1 value : -09-2019&lt;/P&gt;&lt;P&gt;2 value : -2019&lt;/P&gt;&lt;P&gt;3 value : 24-09-2019&amp;nbsp;&lt;/P&gt;&lt;P&gt;other than the the other sub strings which i picked from log used to be correct in 11.2 version but were broken in 12.40&lt;/P&gt;&lt;P&gt;eg qlikview 11.2 &amp;nbsp;had field (@27:n) picked correctly but are picked incorrectly in 12.40.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 16:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657814#M593665</guid>
      <dc:creator>AC187</dc:creator>
      <dc:date>2019-12-15T16:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657818#M593666</link>
      <description>&lt;P&gt;I just ran and checked the above script.&lt;/P&gt;&lt;P&gt;only replaced my path in above scipt.&lt;/P&gt;&lt;P&gt;end result is x field with value 0&lt;/P&gt;&lt;P&gt;when tried to debug, it returned below result:&lt;/P&gt;&lt;P&gt;Tempcode &amp;lt;&amp;lt; abc.qvw 1 line fetched&lt;/P&gt;&lt;P&gt;Tempcode &amp;lt;&amp;lt; abc.qvw 2 lines fetched&lt;/P&gt;&lt;P&gt;Tempcode &amp;lt;&amp;lt; abc.qvw 3 lines fetched&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the end result was field X with value 0 on front end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 17:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657818#M593666</guid>
      <dc:creator>AC187</dc:creator>
      <dc:date>2019-12-15T17:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657832#M593667</link>
      <description>&lt;P&gt;Question would be what is the value of vEncoding at the end of your loop?&lt;/P&gt;&lt;P&gt;The 3rd date looks correct to me, but the first 2 look like an offset is wrong. Can you post (attach) one of the log files?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 23:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1657832#M593667</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-12-15T23:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1660202#M593668</link>
      <description>&lt;P&gt;Check out the following link to the Governance Dashboard area, and and pull the latest QVW for that and have a look at the script in there, that should help you confirm how Tyler has done things, and I would expect if you copy that, it should work for you as well.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Monitoring-Administration/QlikView-Governance-Dashboard/gpm-p/1578596" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Monitoring-Administration/QlikView-Governance-Dashboard/gpm-p/1578596&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Otherwise you can follow-up with Rob, sorry I do not have anything better at the moment.&amp;nbsp; There was a timestamp formatting change between 11.20 and 12.xx tracks, but I cannot see that that should be a major issue here, that is where I am hoping the GDB QVW script may be of some help to you.&amp;nbsp; There may be logic in there to handle 11.20 v 12.xx too, just FYI.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 15:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1660202#M593668</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-23T15:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logs generated in qlikview 12.40 cannot be read</title>
      <link>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1660233#M593669</link>
      <description>&lt;P&gt;Note also that the date format differs in V11 and V12.&amp;nbsp; In V11, log dates are in the TimeStamp format set in the script, which is usually localized.&amp;nbsp; In V12, the format is always ISO 'YYYY-MM-DD hh:mm:ss'.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P class="p1"&gt;'&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 16:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logs-generated-in-qlikview-12-40-cannot-be-read/m-p/1660233#M593669</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-12-23T16:40:25Z</dc:date>
    </item>
  </channel>
</rss>

