<?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: Loading from log file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399824#M148782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to load a small test file with about 100 lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2012 11:37:40 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-12-03T11:37:40Z</dc:date>
    <item>
      <title>Loading from log file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399823#M148781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loading from log file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below row in a log file.&lt;/P&gt;&lt;P&gt;This log is not set in table formation and I like to load it as table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00b050;"&gt;2012-12-01 00:01:54,328 &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;INFO&amp;nbsp; [ABC] Got request: action=getenv&lt;/SPAN&gt;&amp;amp;cname=PEL&amp;amp;id=352622041677225&amp;amp;local=en &amp;amp;serving_ci=17528&amp;amp;serving_lac=6301&amp;amp;manufact=HELLO&amp;amp;model=9000T&amp;amp;os=2.2&amp;amp;version=1.1.12.1&amp;amp;wifi_ssid=&amp;amp;wify_ip=&amp;amp;mobile_apn_name=Internet+PEL&amp;amp;mobile_ip=10.100.00.101&amp;amp;height=800&amp;amp;width=480&amp;amp;ram=304&amp;amp;size=13544&amp;amp; intstorage_size=1917&amp;amp;home_mcc=42&amp;amp;home_mnc=03&amp;amp;service_mcc=42&amp;amp;service_mnc=03&amp;amp;coordinates=32.0278248%2C34.8897514&amp;amp;coordinates_accurate=false&amp;amp;coordinates_last_updated=0&amp;amp;pnames=facebook%7C1%2Cgallery%7C1%2Cplugin%7C1%2CAutocarIndia_Advice%7C1%2Cbbc_world%7C1%2Cyoutube%7C1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first column should be the date and time (the green part)&lt;/P&gt;&lt;P&gt;The re part can be dropped &lt;/P&gt;&lt;P&gt;Then each column name is set after the &lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"&gt;ampersand &lt;/SPAN&gt;sign (&amp;amp;) and its value after the equal sign (=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how this can be achieve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 10:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399823#M148781</guid>
      <dc:creator />
      <dc:date>2012-12-03T10:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from log file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399824#M148782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to load a small test file with about 100 lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 11:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399824#M148782</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-12-03T11:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from log file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399825#M148783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;load logtime, trim(subfield(parval,'=',1)) as parameter, trim(subfield(parval,'=',2)) as value;&lt;/P&gt;&lt;P&gt;load timestamp#(left(@1,23),'YYYY-MM-DD hh:mm:ss,fff') as logtime, subfield(mid(@1,24),'&amp;amp;') as parval;&lt;/P&gt;&lt;P&gt;LOAD @1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;comm67571.log&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result will be a table in the form&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="482"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl22" height="17" width="144"&gt;logtime&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none;" width="164"&gt;parameter&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none;" width="174"&gt;value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: medium none;"&gt;2012-12-01 00:01:54,328&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;cname&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;PEL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: medium none;"&gt;2012-12-01 00:01:54,328&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;coordinates&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;32.0278248%2C34.8897514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: medium none;"&gt;2012-12-01 00:01:54,328&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;coordinates_accurate&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;false&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: medium none;"&gt;2012-12-01 00:01:54,328&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;coordinates_last_updated&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: medium none;"&gt;2012-12-01 00:01:54,328&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;height&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: medium none;"&gt;2012-12-01 00:01:54,328&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;home_mcc&lt;/TD&gt;&lt;TD class="xl23" style="border-top: medium none; border-left: medium none;"&gt;42&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will still be a record for "INFO&amp;nbsp; [ABC] Got request: action". If you want to get rid of this you can do a resident load with a where clause: where value &amp;lt;&amp;gt; 'getenv'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 13:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399825#M148783</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-03T13:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from log file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399826#M148784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sample can be found in the below link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="https://www.dropbox.com/s/vpqxvli8rdnix4a/Sample.txt" title="https://www.dropbox.com/s/vpqxvli8rdnix4a/Sample.txt"&gt;https://www.dropbox.com/s/vpqxvli8rdnix4a/Sample.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 14:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399826#M148784</guid>
      <dc:creator />
      <dc:date>2012-12-03T14:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from log file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399827#M148785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/gwassenaar" id="jive-965447924580643475955" style="background-color: #ffffff; font-size: 12px; color: #007fc0; text-decoration: initial; font-weight: bold; font-family: Arial; text-align: center;"&gt;Gysbert &lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you please explain a little bit about the syntax and the logic that been using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 14:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-log-file/m-p/399827#M148785</guid>
      <dc:creator />
      <dc:date>2012-12-03T14:30:57Z</dc:date>
    </item>
  </channel>
</rss>

