<?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: How to get Nprinting Task Execution Logs using API in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833574#M33243</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;already I am able to track status of task execution for every 1 min interval for max 5 minutes&amp;nbsp;&lt;BR /&gt;Issue is incase it Failed to know reason log is mandatory .&lt;/P&gt;&lt;P&gt;Knowing status is not that much helpful without log&lt;/P&gt;&lt;P&gt;To check log again we have to login to server&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2021 10:44:17 GMT</pubDate>
    <dc:creator>satyaban</dc:creator>
    <dc:date>2021-09-03T10:44:17Z</dc:date>
    <item>
      <title>How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833325#M33221</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I am using NPrinting API to execute my task&amp;nbsp; but unable to get any end point for getting task execution logs&amp;nbsp;&lt;/P&gt;&lt;P&gt;API Link :&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/APIs/NP+API/index.html?page=50" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/APIs/NP+API/index.html?page=50&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But to Get Logs I didn't get any API and work around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an work around I tried to download log itself by task execution ID : let say URL of logs for a specific task execution is&lt;/P&gt;&lt;P&gt;&lt;A href="https://qliknprinting.xyz.nett/npe/executions/e0de8e4a-3a8c-5fgt-bfe1-d9b46717eb25/logs/download" target="_blank"&gt;https://qliknprinting.xyz.nett/npe/executions/e0de8e4a-3a8c-5fgt-bfe1-d9b46717eb25/logs/download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code to download :&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;[&lt;/SPAN&gt;Net.ServicePointManager&lt;SPAN class="s2"&gt;]::&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;SecurityProtocol &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;[&lt;/SPAN&gt;Net.SecurityProtocolType&lt;SPAN class="s2"&gt;]::&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Tls12 &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;Invoke-RestMethod&amp;nbsp;&lt;SPAN class="s3"&gt;-Uri&lt;/SPAN&gt;&amp;nbsp;"&lt;A href="https://qliknprinting.xyz.nett/npe/executions/e0de8e4a-3a8c-5fgt-bfe1-d9b46717eb25/logs/download" target="_blank"&gt;https://qliknprinting.xyz.nett/npe/executions/e0de8e4a-3a8c-5fgt-bfe1-d9b46717eb25/logs/download&lt;/A&gt;"&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;But everytime I am getting same SSL Error&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel.&lt;/P&gt;&lt;P class="p1"&gt;At E:\np_automation\np_task_execution\test.ps1:28 char:1&lt;/P&gt;&lt;P class="p1"&gt;&lt;BR /&gt;so basically I need solution to get logs for Nprinting task execution logs&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 15:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833325#M33221</guid>
      <dc:creator>satyaban</dc:creator>
      <dc:date>2021-09-02T15:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833356#M33224</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/77802"&gt;@satyaban&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please confirm the version of NPrinting that you are using.&lt;/P&gt;

&lt;P&gt;The label you used in this discussion is &lt;STRONG&gt;NPrinting 17.0&lt;/STRONG&gt; which is not supported and furthermore does not support NP APIs.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;To allow execution of the NP API's you must be on a supported version of NPrinting server.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Kind regards...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 18:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833356#M33224</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2021-09-02T18:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833447#M33233</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp; yes I mentioned wrong version&lt;/P&gt;&lt;P&gt;Correct Version is&amp;nbsp;&lt;/P&gt;&lt;P class="about-product-name ng-binding"&gt;Qlik NPrinting&amp;nbsp;November 2020&lt;/P&gt;&lt;P class="about-product-id"&gt;&lt;SPAN class="ng-scope"&gt;Version: 20.39.3.0&lt;BR /&gt;&lt;/SPAN&gt;Basically I am using NP API to execute tasks etc and its working fine&lt;BR /&gt;&lt;BR /&gt;I am struggling to find task execution logs . I am fine with approach and technology but need some solution&lt;/P&gt;&lt;P class="about-product-id"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="about-product-id"&gt;Again to download logs&amp;nbsp; from URL itself throws SSL error as mentioned though I have set Security protocol&lt;/P&gt;&lt;P class="about-product-id"&gt;&lt;SPAN class="s2"&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;Net.ServicePointManager&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;]::&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;SecurityProtocol&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;Net.SecurityProtocolType&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;]::&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Tls12&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 05:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833447#M33233</guid>
      <dc:creator>satyaban</dc:creator>
      <dc:date>2021-09-03T05:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833518#M33237</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you mean that you want to download the logs you see in the task executions page, there is not an API to do that.&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=49" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=49&lt;/A&gt;&amp;nbsp;to get information and monitor the status of a specified execution of a task. During the execution you can run this get many times to be updated.&lt;/P&gt;&lt;P&gt;Starting from February 2021 there are APIs for Audit Events data&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=9" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 08:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833518#M33237</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-09-03T08:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833520#M33238</link>
      <description>&lt;P&gt;I know downloading tasks logs from API&amp;nbsp; page not available .&lt;BR /&gt;basically I am looking for workaround to get that logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically link to log is : &lt;A href="https://nprinting.domain:4993/npe/executions/task_execution_id/logs/download" target="_blank"&gt;https://nprinting.domain:4993/npe/executions/task_execution_id/logs/download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but here not able to authenticate using invoke-webrequest&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$User&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"domain user"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$PWord&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ConvertTo-SecureString&lt;/SPAN&gt;&lt;SPAN&gt; -String &lt;/SPAN&gt;&lt;SPAN&gt;"my password "&lt;/SPAN&gt;&lt;SPAN&gt; -AsPlainText -Force&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$Credential&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;New-Object&lt;/SPAN&gt;&lt;SPAN&gt; -TypeName System.Management.Automation.PSCredential -ArgumentList &lt;/SPAN&gt;&lt;SPAN&gt;$User&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;$PWord&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Invoke-RestMethod&lt;/SPAN&gt;&lt;SPAN&gt; -Uri &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://nprinting.domain:4993/npe/executions/task_execution_id/logs/download" target="_blank"&gt;https://nprinting.domain:4993/npe/executions/task_execution_id/logs/download&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; -Credential &lt;/SPAN&gt;&lt;SPAN&gt;$Credential&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but everytime getting authentication error&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;as we are doing automation we need task execution logs to send in mail&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Sep 2021 08:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833520#M33238</guid>
      <dc:creator>satyaban</dc:creator>
      <dc:date>2021-09-03T08:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833542#M33239</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You are trying to use a not documented, not officially supported method. So you do this at your own risk. If it works today it could also stop working in the future.&lt;/P&gt;&lt;P&gt;I strongly suggest you to use one of the officially supported methods.&lt;/P&gt;&lt;P&gt;You could also add this as a requested new feature &lt;A href="https://community.qlik.com/t5/Labels-page/bd-p/Category_Labels?categoryId=qlik-ideas&amp;amp;corenode=boards&amp;amp;labelText=Qlik%20NPrinting&amp;amp;nodetype=boards" target="_blank"&gt;https://community.qlik.com/t5/Labels-page/bd-p/Category_Labels?categoryId=qlik-ideas&amp;amp;corenode=boards&amp;amp;labelText=Qlik%20NPrinting&amp;amp;nodetype=boards&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 09:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833542#M33239</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-09-03T09:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833564#M33240</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp; yes thats true we should not follow unofficial approach .&lt;/P&gt;&lt;P&gt;But task execution logs afters execution of tasks is&amp;nbsp; pre-requisite for end user to check status .&lt;BR /&gt;Without logs there is no meaning of doing task execution automations&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is very basic and minimum feature qlk should provide w.r.t NPrinting for large enterprise where automation is mandatory and priority&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Thanks for your suggestion and guidance&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp; one small query I have&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2021-09-03 at 3.36.05 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61291i6E11CA581A754D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-09-03 at 3.36.05 PM.png" alt="Screenshot 2021-09-03 at 3.36.05 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;as Download Logs button is available and can be downloaded from browser then somewhere in server it should be stored ....can we get that path sothat we can read that content&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 10:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833564#M33240</guid>
      <dc:creator>satyaban</dc:creator>
      <dc:date>2021-09-03T10:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833567#M33241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you run&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=49" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=49&lt;/A&gt; periodically you can retrieve the task execution status. It is included in the JSON answer.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 10:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833567#M33241</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-09-03T10:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833574#M33243</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;already I am able to track status of task execution for every 1 min interval for max 5 minutes&amp;nbsp;&lt;BR /&gt;Issue is incase it Failed to know reason log is mandatory .&lt;/P&gt;&lt;P&gt;Knowing status is not that much helpful without log&lt;/P&gt;&lt;P&gt;To check log again we have to login to server&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 10:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1833574#M33243</guid>
      <dc:creator>satyaban</dc:creator>
      <dc:date>2021-09-03T10:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nprinting Task Execution Logs using API</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1834413#M33280</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/77802"&gt;@satyaban&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;If the Public NP APIs do not fulfill your requirement,&lt;/P&gt;

&lt;P&gt;I suggest inserting an in "Idea" here clearly documenting your requirement.&lt;/P&gt;

&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;Ideas | Qlik Community&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Kind regards...&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/How-to-get-Nprinting-Task-Execution-Logs-using-API/m-p/1834413#M33280</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2021-09-07T15:54:32Z</dc:date>
    </item>
  </channel>
</rss>

