<?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: Invalid Key Stanza alert_actions.conf in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/602514#M12910</link>
    <description>&lt;P&gt;Hi yeahnah&lt;/P&gt;&lt;P&gt;Thanks for your analyses, we encounter the same problem still in 8.2.6 Did you open a support ticket? Which I could reference?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 05:09:22 GMT</pubDate>
    <dc:creator>cyrmue</dc:creator>
    <dc:date>2022-06-21T05:09:22Z</dc:date>
    <item>
      <title>Troubleshooting: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/595662#M12387</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;I'm encountering this error when i run btool check:&lt;BR /&gt;&lt;BR /&gt;Invalid key in stanza [email] in /opt/splunk/etc/apps/search/local/alert_actions.conf, line 2: show_password (value: True).&lt;BR /&gt;&lt;BR /&gt;and inside the alert_actions.conf:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;[email]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;show_password = True&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Could i just delete or rename the file ? and what is this stanza for ?&lt;BR /&gt;Cause i can't see it in the documentation&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Alertactionsconf" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Alertactionsconf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 16:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/595662#M12387</guid>
      <dc:creator>JNgoho</dc:creator>
      <dc:date>2022-04-28T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/595803#M12394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if the key is not present in the spec for alert_actions.conf, you are safe to remove it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 15:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/595803#M12394</guid>
      <dc:creator>smurf</dc:creator>
      <dc:date>2022-04-28T15:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/596870#M12481</link>
      <description>&lt;P&gt;This solution did not work for me&lt;BR /&gt;&lt;BR /&gt;I found that deleting the&amp;nbsp;alert_actions.conf file under $SPLUNK_HOME/etc/app/search/local did not work, as the next time a send email alert is sent, Splunk just recreates the file with the unspec'd email.show_password = True entry.&lt;BR /&gt;&lt;BR /&gt;I also found that this alert_actions file is also causing the "Send email" envelope icon (Settings &amp;gt; Alert Actions)&amp;nbsp; to not render correctly in the UI.&lt;BR /&gt;&lt;BR /&gt;I'm going to open a low level bug with Splunk about this, but in the meantime this is the workaround I've implemented:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1.&amp;nbsp; Alert actions "Send email" icon&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;cp $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/img/mod_alert_icon_email.png $SPLUNK_HOME/etc/apps/search/appserver/static/&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Note: our SHC is behind a load balancer so I also needed to increment the Bump version due to Splunk Web caching (&lt;SPAN&gt;http://&amp;lt;host&amp;gt;:&amp;lt;mport&amp;gt;/&amp;lt;locale_string&amp;gt;/_bump)&lt;/SPAN&gt;.&amp;nbsp; &amp;nbsp;Clearing your browser cache may also work (&lt;A href="https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/assetcaching/" target="_blank" rel="noopener"&gt;https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/assetcaching/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. Invalid entry when btool check run (optional)&lt;BR /&gt;* For Linux (modify commands as needed for Windows)&lt;BR /&gt;a) cd&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME/etc/apps/search/&lt;BR /&gt;&lt;/SPAN&gt;b) mkdir README&lt;BR /&gt;c) cat &amp;lt;&amp;lt;EOF &amp;gt;README/alert_actions.conf.spec&lt;BR /&gt;show_password = &amp;lt;boolean&amp;gt;&lt;BR /&gt;* workaround, as parameter not defined in default alert_actions.conf.spec file&lt;BR /&gt;* this entry simply stops btool check complaining of invalid entry&lt;BR /&gt;&lt;BR /&gt;EOF&lt;BR /&gt;d) Validate: ~/bin/splunk btool check&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I reproduced this on Splunk Enterprise v8.0.5 (it may occur in earlier version too), but looks to be fixed in latest v8.2.6.&amp;nbsp; However, you may need to manually delete the $SPLUNK_HOME/etc/apps/search/local/alert_actions.conf file (or the show_password entry) if&amp;nbsp; upgrading Splunk to latest from an earlier version (and splunk _internal call /services/admin/alert_actions/_reload + bump Splunk web) that had the issue already.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 04:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/596870#M12481</guid>
      <dc:creator>yeahnah</dc:creator>
      <dc:date>2022-05-09T04:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/602514#M12910</link>
      <description>&lt;P&gt;Hi yeahnah&lt;/P&gt;&lt;P&gt;Thanks for your analyses, we encounter the same problem still in 8.2.6 Did you open a support ticket? Which I could reference?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 05:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/602514#M12910</guid>
      <dc:creator>cyrmue</dc:creator>
      <dc:date>2022-06-21T05:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/602518#M12911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247045"&gt;@cyrmue&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;No sorry, I thought it was fixed in v8.2.6 so never raised it with Splunk.&lt;BR /&gt;&lt;BR /&gt;I just had a look at my pre-prod v8.2.6 env and can see the issue has reappeared again there.&amp;nbsp; At least I think I fixed it there but it's been a while now and I'd have to go back over what I did to reconfirm things.&lt;BR /&gt;&lt;BR /&gt;Anyway, no Splunk support ticket was opened by me for this so please go ahead and raise it with them.&amp;nbsp; Please update here if you open one too.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 05:42:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/602518#M12911</guid>
      <dc:creator>yeahnah</dc:creator>
      <dc:date>2022-06-21T05:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/604710#M13187</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The problem is the&amp;nbsp;&lt;SPAN&gt;python_upgrade_readiness_app App. If you upgrade it or disable it, the problem should disappear. But the buggy version is still shipped with the binary installation...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 07:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/604710#M13187</guid>
      <dc:creator>cyrmue</dc:creator>
      <dc:date>2022-07-07T07:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/604737#M13193</link>
      <description>&lt;P&gt;In Splunk 9.0 the python_upgrade_readiness_app should be shipped in Version 4.0 (in 8.2.6 it was 1.0).&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 11:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/604737#M13193</guid>
      <dc:creator>cyrmue</dc:creator>
      <dc:date>2022-07-07T11:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/648017#M16640</link>
      <description>&lt;P&gt;Splunk Windows 8.2.10 (upgraded from 8.2.6) -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Who/What would put that in alert_actions.conf?&lt;/P&gt;&lt;P&gt;[email]&lt;BR /&gt;show_password = True&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I:&lt;/P&gt;&lt;P&gt;a. delete the alert_actions.conf file (nothing else is in the file) ?&lt;/P&gt;&lt;P&gt;b. Change it to False?&lt;/P&gt;&lt;P&gt;c. delete the file contents, but leave the empty file there?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 00:26:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/648017#M16640</guid>
      <dc:creator>NK</dc:creator>
      <dc:date>2023-06-23T00:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Stanza alert_actions.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/659334#M17493</link>
      <description>&lt;P&gt;After creating the /opt/splunk/etc/apps/search/README directory, I ran "cat &amp;gt; alert_actions.conf.spec" within the README directory.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 20:37:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Troubleshooting-Invalid-Key-Stanza-alert-actions-conf/m-p/659334#M17493</guid>
      <dc:creator>computermathguy</dc:creator>
      <dc:date>2023-10-02T20:37:04Z</dc:date>
    </item>
  </channel>
</rss>

