<?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: process monitor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611092#M1104401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Events are written to log files and it is possible to pick these up in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code will get you started:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vDateFormat = 'DD/MM/YYYY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vMonthFormat = 'MMM-YY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vDistributionFolder = 'c:\ProgramData\QlikTech\DistributionService\';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for each vFile in FileList('$(vDistributionFolder)TaskExecutionHistory\TaskExecutionHistory_*.xml')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SET ERRORMODE = 0;&amp;nbsp; // ignore file lock errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TaskExecutionHistoryItem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 1 as ExecutionCount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskLogId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskStatus,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartTimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(DayStart(StartTimeStamp), '$(vDateFormat)') as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(StartTimeStamp), '$(vMonthFormat)') as [Month Year],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(StartTimeStamp) as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(StartTimeStamp) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(StartTimeStamp) as Hour,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndTimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FROM [$(vFile)]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; (XmlSimple, Table is [Root/TaskExecutionHistoryItems/TaskExecutionHistoryItem]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SET ERRORMODE = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only a months worth of logs are kept by default.&amp;nbsp; I've written an incremental load to persist old log entries to QVD. Also, I read in the task details into my version of the dashboard and have put a few objects on the front end to track performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I get a chance I will tidy this up a bit and remove client specific code and branding and upload to Qlik Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above helps though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2014 00:06:41 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2014-03-24T00:06:41Z</dc:date>
    <item>
      <title>process monitor</title>
      <link>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611090#M1104399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;by Qmc is possible to manage processes and check their duration time.&lt;/P&gt;&lt;P&gt;Is it possible to create a document in order to get all the processes information&amp;nbsp; without access to QMC?&lt;/P&gt;&lt;P&gt;Is there an example concerning this topic ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 23:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611090#M1104399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-23T23:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: process monitor</title>
      <link>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611091#M1104400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parts of this information are included in the load log files the creation of which you can enable in the document properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_111629_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55653_QlikCommunity_Thread_111629_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 23:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611091#M1104400</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-23T23:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: process monitor</title>
      <link>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611092#M1104401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Events are written to log files and it is possible to pick these up in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code will get you started:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vDateFormat = 'DD/MM/YYYY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vMonthFormat = 'MMM-YY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vDistributionFolder = 'c:\ProgramData\QlikTech\DistributionService\';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for each vFile in FileList('$(vDistributionFolder)TaskExecutionHistory\TaskExecutionHistory_*.xml')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SET ERRORMODE = 0;&amp;nbsp; // ignore file lock errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TaskExecutionHistoryItem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 1 as ExecutionCount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskLogId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskStatus,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartTimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(DayStart(StartTimeStamp), '$(vDateFormat)') as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(StartTimeStamp), '$(vMonthFormat)') as [Month Year],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(StartTimeStamp) as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(StartTimeStamp) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(StartTimeStamp) as Hour,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndTimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FROM [$(vFile)]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; (XmlSimple, Table is [Root/TaskExecutionHistoryItems/TaskExecutionHistoryItem]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SET ERRORMODE = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only a months worth of logs are kept by default.&amp;nbsp; I've written an incremental load to persist old log entries to QVD. Also, I read in the task details into my version of the dashboard and have put a few objects on the front end to track performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I get a chance I will tidy this up a bit and remove client specific code and branding and upload to Qlik Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above helps though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 00:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/process-monitor/m-p/611092#M1104401</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-03-24T00:06:41Z</dc:date>
    </item>
  </channel>
</rss>

