<?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: Why is the email icon not shown properly on Edit Alert screen when alert_actions.conf is deployed from the deployer? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408187#M14680</link>
    <description>&lt;P&gt;This issue happens because the stanza name must be unique and two apps cannot define the same alert action.&lt;BR /&gt;
In this case, alet_actions.conf from the app has the precedence.&lt;BR /&gt;
Try setting either one of the below.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[Method 1 : Set them up in savedsearches.conf]&lt;/STRONG&gt;&lt;BR /&gt;
Set up these in savedsearches.conf as below.&lt;/P&gt;

&lt;P&gt;savedsearches.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mySavedSearch]
action.email = 1
action.email.reportCIDFontList = jp
action.email.use_ssl = 0
action.email.footer.text = My Footer
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;[Method 2 : Set necessary email stanza settings in alert_actions in the App]&lt;/STRONG&gt;&lt;BR /&gt;
Set up necessary settings in email stanza in alert_actions in the App.&lt;BR /&gt;
Please note this setting will affect other Apps.&lt;/P&gt;

&lt;P&gt;For icon_path, just set file name, no need to put the whole path.&lt;BR /&gt;
For the default icon, copy mod_alert_icon_email.png from the below location &lt;BR /&gt;
to $SPLUNK_HOME/etc/apps/appName/appserver/static/.&lt;/P&gt;

&lt;P&gt;alert_actions.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;reportCIDFontList = jp
use_ssl = 0
footer.text = My Footer
...
icon_path = &amp;lt;fileName&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The location of mod_alert_icon_email.png from where the user needs to copy&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/mod_alert_icon_email.png
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;[Reference]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/AdvancedDev/CustomAlertConfig%C2%A0" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/AdvancedDev/CustomAlertConfig&amp;nbsp;&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Stanza naming 
Follow these guidelines when naming the alert action stanza. 
The stanza name must be unique. Two apps cannot define the same alert action.
The stanza name can contain only the following characters.
       - alphanumeric characters
       - underscores
       - hyphens
The stanza name cannot contain spaces.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;savedsearches.conf&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Savedsearchesconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Savedsearchesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;alert_actions.conf&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Alertactionsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Alertactionsconf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:05:59 GMT</pubDate>
    <dc:creator>hnoboru_splunk</dc:creator>
    <dc:date>2020-09-30T00:05:59Z</dc:date>
    <item>
      <title>Why is the email icon not shown properly on Edit Alert screen when alert_actions.conf is deployed from the deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408186#M14679</link>
      <description>&lt;P&gt;I created an App, and deployed it with alert_actions.conf to Search Heads.&lt;BR /&gt;
When I tried to set up an alert on a Search Head by the below procedures, Send email icon was not shown properly.&lt;/P&gt;

&lt;P&gt;[Procedures to create an alert]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(1) Create a search
(2) Save As -&amp;gt; Alert
(3) On Save As Alert, click Add Actions
(4) Send email icon is not shown properly
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;[alert_actions.conf in the App]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[email]
reportCIDFontList = jp
use_ssl = 0
footer.text = My Footer
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6876iD1B47320D2A69340/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 16:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408186#M14679</guid>
      <dc:creator>hnoboru_splunk</dc:creator>
      <dc:date>2019-04-15T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the email icon not shown properly on Edit Alert screen when alert_actions.conf is deployed from the deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408187#M14680</link>
      <description>&lt;P&gt;This issue happens because the stanza name must be unique and two apps cannot define the same alert action.&lt;BR /&gt;
In this case, alet_actions.conf from the app has the precedence.&lt;BR /&gt;
Try setting either one of the below.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[Method 1 : Set them up in savedsearches.conf]&lt;/STRONG&gt;&lt;BR /&gt;
Set up these in savedsearches.conf as below.&lt;/P&gt;

&lt;P&gt;savedsearches.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mySavedSearch]
action.email = 1
action.email.reportCIDFontList = jp
action.email.use_ssl = 0
action.email.footer.text = My Footer
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;[Method 2 : Set necessary email stanza settings in alert_actions in the App]&lt;/STRONG&gt;&lt;BR /&gt;
Set up necessary settings in email stanza in alert_actions in the App.&lt;BR /&gt;
Please note this setting will affect other Apps.&lt;/P&gt;

&lt;P&gt;For icon_path, just set file name, no need to put the whole path.&lt;BR /&gt;
For the default icon, copy mod_alert_icon_email.png from the below location &lt;BR /&gt;
to $SPLUNK_HOME/etc/apps/appName/appserver/static/.&lt;/P&gt;

&lt;P&gt;alert_actions.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;reportCIDFontList = jp
use_ssl = 0
footer.text = My Footer
...
icon_path = &amp;lt;fileName&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The location of mod_alert_icon_email.png from where the user needs to copy&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/mod_alert_icon_email.png
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;[Reference]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/AdvancedDev/CustomAlertConfig%C2%A0" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/AdvancedDev/CustomAlertConfig&amp;nbsp;&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Stanza naming 
Follow these guidelines when naming the alert action stanza. 
The stanza name must be unique. Two apps cannot define the same alert action.
The stanza name can contain only the following characters.
       - alphanumeric characters
       - underscores
       - hyphens
The stanza name cannot contain spaces.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;savedsearches.conf&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Savedsearchesconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Savedsearchesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;alert_actions.conf&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Alertactionsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Alertactionsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:05:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408187#M14680</guid>
      <dc:creator>hnoboru_splunk</dc:creator>
      <dc:date>2020-09-30T00:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the email icon not shown properly on Edit Alert screen when alert_actions.conf is deployed from the deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408188#M14681</link>
      <description>&lt;P&gt;Method 2 did the trick for our SHC, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 20:24:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/408188#M14681</guid>
      <dc:creator>ablume</dc:creator>
      <dc:date>2019-08-15T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the email icon not shown properly on Edit Alert screen when alert_actions.conf is deployed from the deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/596871#M25607</link>
      <description>&lt;P&gt;Linking to the workaround here,&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/595662" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/595662&lt;/A&gt;,&amp;nbsp;in case anyone else finds it useful&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 04:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-the-email-icon-not-shown-properly-on-Edit-Alert-screen/m-p/596871#M25607</guid>
      <dc:creator>yeahnah</dc:creator>
      <dc:date>2022-05-09T04:09:47Z</dc:date>
    </item>
  </channel>
</rss>

