<?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 Custom alert action parameter sets in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Custom-alert-action-parameter-sets/m-p/457508#M8124</link>
    <description>&lt;P&gt;I've got a custom alert action to RESTfully submitting a message to two different internal systems, and the quickest thing to do was to repeat sets of parameters:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;param.endpoint_a = &amp;lt;string&amp;gt;
* The REST endpoint uri
param.endpoint_a_method = [get|post]
* HTTP verb to use

param.endpoint_b = &amp;lt;string&amp;gt;
param.endpoint_b_method = [get|post]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can this be generalized, both in the &lt;CODE&gt;.conf.spec&lt;/CODE&gt; and in the &lt;CODE&gt;default/data/ui/&lt;/CODE&gt; controls, so that I don't have to cut/paste/edit when a third (or fourth, or fifth) endpoint is introduced?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 03:25:51 GMT</pubDate>
    <dc:creator>diletoan</dc:creator>
    <dc:date>2019-03-28T03:25:51Z</dc:date>
    <item>
      <title>Custom alert action parameter sets</title>
      <link>https://community.splunk.com/t5/Alerting/Custom-alert-action-parameter-sets/m-p/457508#M8124</link>
      <description>&lt;P&gt;I've got a custom alert action to RESTfully submitting a message to two different internal systems, and the quickest thing to do was to repeat sets of parameters:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;param.endpoint_a = &amp;lt;string&amp;gt;
* The REST endpoint uri
param.endpoint_a_method = [get|post]
* HTTP verb to use

param.endpoint_b = &amp;lt;string&amp;gt;
param.endpoint_b_method = [get|post]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can this be generalized, both in the &lt;CODE&gt;.conf.spec&lt;/CODE&gt; and in the &lt;CODE&gt;default/data/ui/&lt;/CODE&gt; controls, so that I don't have to cut/paste/edit when a third (or fourth, or fifth) endpoint is introduced?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 03:25:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Custom-alert-action-parameter-sets/m-p/457508#M8124</guid>
      <dc:creator>diletoan</dc:creator>
      <dc:date>2019-03-28T03:25:51Z</dc:date>
    </item>
  </channel>
</rss>

