<?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: Parsing or Processing Application logs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379263#M702810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This kind of log processing is possible with QV and a lot of fun. Attached is an example to get you started. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 06:22:57 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2012-08-21T06:22:57Z</dc:date>
    <item>
      <title>Parsing or Processing Application logs</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379262#M702809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got these error log files, which are pretty aweful imo. Each time an error occurs a new entry is written to the log with a data stamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13454739760173534" jivemacro_uid="_13454739760173534"&gt;&lt;P&gt;Exception Time is 08:13:27.4162777&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction (Process ID 61) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;A connection-level error occurred while opening the connection.&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;Transaction (Process ID 61) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to do is to process these to perhaps get the time when a particular error occured i.e. Deadlock and count these occurances. Does anyone know if it would be possible to do this in QlikView? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using 'Log Parser 2.2' to play around with this and I can search for a text string and get a count of how often in occurs but it's a bit limitted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 14:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379262#M702809</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2012-08-20T14:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing or Processing Application logs</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379263#M702810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This kind of log processing is possible with QV and a lot of fun. Attached is an example to get you started. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 06:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379263#M702810</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-08-21T06:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing or Processing Application logs</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379264#M702811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Rob! I wouldn't have begun to know where to start. :]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 07:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379264#M702811</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2012-08-22T07:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing or Processing Application logs</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379265#M702812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've now got a working solution that I've automated to reload the current months data everynight. I've identified different errors and modified the "wildmatch" command accordingly, and also filtered out the extra log text that I don't want. Thought I'd upload the result in case it's of help to anyone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 14:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/379265#M702812</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2012-08-23T14:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing or Processing Application logs</title>
      <link>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/1640537#M702813</link>
      <description>&lt;P&gt;For those of you that do not want to download Rob's solution, but just want to see the load script portion here is Rob W&lt;SPAN&gt;underlich's&amp;nbsp;&lt;/SPAN&gt;(&lt;SPAN&gt;rwunderlich) code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Directory;&lt;BR /&gt;RawData:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;Hour(ExceptionTime) as Hour // Create an Hour field&lt;BR /&gt;;&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;RecNo() as RecId, // Assign a sequence number for sorting&lt;BR /&gt;if(wildmatch(LogText,'Exception Time is*') // If an Exception message&lt;BR /&gt;,RecNo() // then use the Recno as a new Id&lt;BR /&gt;,peek('ExceptionId') // else use the id from the previous row&lt;BR /&gt;) as ExceptionId,&lt;BR /&gt;if(wildmatch(LogText,'Exception Time is*') // If an Exception message&lt;BR /&gt;,Time(Time#(subfield(LogText, ' ', 4), 'hh:mm:ss.ffffff')) // then parse the time&lt;BR /&gt;,peek('ExceptionTime') // otherwise use the time from the previous row&lt;BR /&gt;) as ExceptionTime,&lt;BR /&gt;if(wildmatch(LogText,'Transaction * was deadlocked *') // If a Deadlock message&lt;BR /&gt;,1 // then set the Deadlock flag to 1&lt;BR /&gt;,0 // else set the deadlock flag to 0&lt;BR /&gt;) as Deadlock&lt;BR /&gt;;&lt;BR /&gt;LOAD trim(@1:n) as LogText // Load the entire record as "LogText"&lt;BR /&gt;FROM&lt;BR /&gt;[Reconciliation Exceptions - 3 8.txt]&lt;BR /&gt;(fix, codepage is 1252)&lt;BR /&gt;WHERE trim(@1:n) &amp;lt;&amp;gt; '' // Exclude blank lines&lt;BR /&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 20:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parsing-or-Processing-Application-logs/m-p/1640537#M702813</guid>
      <dc:creator>marc8891</dc:creator>
      <dc:date>2019-10-28T20:18:37Z</dc:date>
    </item>
  </channel>
</rss>

