<?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: Separate LocalLogConfig.xml file for each application required? in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Separate-LocalLogConfig-xml-file-for-each-application-required/m-p/2426570#M1868</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257495"&gt;@AbdullahMastan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are referring to the open source Butler tool (which Qlik-the-company has nothing to do with, other than that Butler adds a bunch of nice alerting features to Qlik's client-managed Qlik Sense product).&amp;nbsp;&lt;BR /&gt;The Butler tool provides much more comprehensive reload failure alerts than what you get using Sense's built-in SMTP appender that you link to.&lt;BR /&gt;&lt;BR /&gt;I.e. there is a choice here: Either you go with the basic emails (Butler does not have to be installed in this case), or you go with the (much) more comprehensive alerting solution that Butler offers (The Butler service has to be &lt;A href="https://butler.ptarmiganlabs.com/docs/getting-started/install/" target="_blank" rel="noopener"&gt;installed&lt;/A&gt; and running in this case, of course).&lt;BR /&gt;Both options are confirmed to be working many times, the choice is yours to decide which suits your needs best.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now to your question.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A single XML file is enough to monitor all reload tasks executed on the node/server where the XML file is deployed. If you have several reload nodes in your Qlik Sense environment you should deploy the XML file on all of them (assuming you want complete monitoring of failed reloads).&lt;/LI&gt;
&lt;LI&gt;The conversionPattern line is there to tell the Log4net SMTP appender which data to include in the email that it will send. It should not be changed.&lt;/LI&gt;
&lt;LI&gt;The fields in the XML file you &lt;STRONG&gt;do&lt;/STRONG&gt; need to change are things related to the SMTP server, recipient, sender etc. I.e. the rows starting with &lt;STRONG&gt;&amp;lt;param name="to"&lt;/STRONG&gt; and ending with &lt;STRONG&gt;&amp;lt;param name="lossy"&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Which reload tasks should cause alert emails when they fail?
&lt;UL&gt;
&lt;LI&gt;The basic SMTP appender variant is an all-or-nothing solution. I.e. either you get alert emails for &lt;STRONG&gt;ALL&lt;/STRONG&gt; failed reload tasks, or none. (Actually, you may be able to tweak the XML file to only detect some failed reload tasks, but that's untested by me at least).&lt;/LI&gt;
&lt;LI&gt;Using Butler you can control per reload task (using a custom property on the reload task in the QMC) whether that task should cause alert emails to be sent or not. Much more granular control thus.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I tested the XML file you linked to (on the &lt;A href="https://butler.ptarmiganlabs.com" target="_blank" rel="noopener"&gt;Butler site&lt;/A&gt;) just now and it works, at least on Qlik Sense 2023-Nov.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the basic approach with Sense's built-in SMTP appender you get an email like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mountaindude_0-1709551925658.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161226iFA551A2F726F0B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="mountaindude_0-1709551925658.png" alt="mountaindude_0-1709551925658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using the Butler variant you get a much richer alert email.&lt;BR /&gt;Note the script log section: It tells you exactly where in the reload the script failed. This can be extremely helpful when it comes to understanding what caused a failure.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mountaindude_1-1709552029447.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161227iBAFDE83B1C86C8D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="mountaindude_1-1709552029447.png" alt="mountaindude_1-1709552029447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 11:39:29 GMT</pubDate>
    <dc:creator>mountaindude</dc:creator>
    <dc:date>2024-03-04T11:39:29Z</dc:date>
    <item>
      <title>Separate LocalLogConfig.xml file for each application required?</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Separate-LocalLogConfig-xml-file-for-each-application-required/m-p/2425142#M1867</link>
      <description>&lt;P&gt;In the XML code given here --&amp;gt;&amp;nbsp;&lt;A title="link-to-xml-code" href="https://butler.ptarmiganlabs.com/docs/getting-started/setup/reload-alerts/#sending-basic-alert-emails-from-log4net" target="_blank" rel="noopener"&gt;Butler&lt;/A&gt;&amp;nbsp;there is a section that is coded as:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;param name="conversionPattern" value="%newline%date %-5level %newline%property{TaskName}%newline%property{AppName}%newline%message%newline%newline%newline" /&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;My question is the following:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Do I have to manually type the App/Task Name within { } (this will help me know that I would have to create an xml for each app.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Does a single XML files work for all the apps?&lt;/LI&gt;
&lt;LI&gt;If yes, do I have to add an extra code block stating the apps names that need monitoring?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt; I want to create an email alerting on Qlik Enterprise.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your prompt assistance would be greatly appreciated!&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Alerting" id="qlikAlerting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/204723"&gt;@RickyK&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28783"&gt;@mountaindude&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Separate-LocalLogConfig-xml-file-for-each-application-required/m-p/2425142#M1867</guid>
      <dc:creator>AbdullahMastan</dc:creator>
      <dc:date>2025-01-29T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Separate LocalLogConfig.xml file for each application required?</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Separate-LocalLogConfig-xml-file-for-each-application-required/m-p/2426570#M1868</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257495"&gt;@AbdullahMastan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are referring to the open source Butler tool (which Qlik-the-company has nothing to do with, other than that Butler adds a bunch of nice alerting features to Qlik's client-managed Qlik Sense product).&amp;nbsp;&lt;BR /&gt;The Butler tool provides much more comprehensive reload failure alerts than what you get using Sense's built-in SMTP appender that you link to.&lt;BR /&gt;&lt;BR /&gt;I.e. there is a choice here: Either you go with the basic emails (Butler does not have to be installed in this case), or you go with the (much) more comprehensive alerting solution that Butler offers (The Butler service has to be &lt;A href="https://butler.ptarmiganlabs.com/docs/getting-started/install/" target="_blank" rel="noopener"&gt;installed&lt;/A&gt; and running in this case, of course).&lt;BR /&gt;Both options are confirmed to be working many times, the choice is yours to decide which suits your needs best.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now to your question.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A single XML file is enough to monitor all reload tasks executed on the node/server where the XML file is deployed. If you have several reload nodes in your Qlik Sense environment you should deploy the XML file on all of them (assuming you want complete monitoring of failed reloads).&lt;/LI&gt;
&lt;LI&gt;The conversionPattern line is there to tell the Log4net SMTP appender which data to include in the email that it will send. It should not be changed.&lt;/LI&gt;
&lt;LI&gt;The fields in the XML file you &lt;STRONG&gt;do&lt;/STRONG&gt; need to change are things related to the SMTP server, recipient, sender etc. I.e. the rows starting with &lt;STRONG&gt;&amp;lt;param name="to"&lt;/STRONG&gt; and ending with &lt;STRONG&gt;&amp;lt;param name="lossy"&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Which reload tasks should cause alert emails when they fail?
&lt;UL&gt;
&lt;LI&gt;The basic SMTP appender variant is an all-or-nothing solution. I.e. either you get alert emails for &lt;STRONG&gt;ALL&lt;/STRONG&gt; failed reload tasks, or none. (Actually, you may be able to tweak the XML file to only detect some failed reload tasks, but that's untested by me at least).&lt;/LI&gt;
&lt;LI&gt;Using Butler you can control per reload task (using a custom property on the reload task in the QMC) whether that task should cause alert emails to be sent or not. Much more granular control thus.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I tested the XML file you linked to (on the &lt;A href="https://butler.ptarmiganlabs.com" target="_blank" rel="noopener"&gt;Butler site&lt;/A&gt;) just now and it works, at least on Qlik Sense 2023-Nov.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the basic approach with Sense's built-in SMTP appender you get an email like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mountaindude_0-1709551925658.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161226iFA551A2F726F0B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="mountaindude_0-1709551925658.png" alt="mountaindude_0-1709551925658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using the Butler variant you get a much richer alert email.&lt;BR /&gt;Note the script log section: It tells you exactly where in the reload the script failed. This can be extremely helpful when it comes to understanding what caused a failure.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mountaindude_1-1709552029447.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161227iBAFDE83B1C86C8D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="mountaindude_1-1709552029447.png" alt="mountaindude_1-1709552029447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 11:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Separate-LocalLogConfig-xml-file-for-each-application-required/m-p/2426570#M1868</guid>
      <dc:creator>mountaindude</dc:creator>
      <dc:date>2024-03-04T11:39:29Z</dc:date>
    </item>
  </channel>
</rss>

