<?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 Is there a best way sent alert content to a API interface of other system in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438432#M11404</link>
    <description>&lt;P&gt;I have a SOC (Security Operation Center) that has an API to receive alert content from splunk（splunk version 6.4.4）.When the alert is triggered, I hope Splunk can send the alert contents to SOC API. So what way should I send the alert type to SOC API?&lt;BR /&gt;
The fields and contents of each alert are different. In addition, it can be formatted as JSON?&lt;BR /&gt;
Should I use the &lt;CODE&gt;Run a script&lt;/CODE&gt; action?  Is there a best way sent alert content to SOC API ?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jun 2018 02:35:57 GMT</pubDate>
    <dc:creator>bestSplunker</dc:creator>
    <dc:date>2018-06-06T02:35:57Z</dc:date>
    <item>
      <title>Is there a best way sent alert content to a API interface of other system</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438432#M11404</link>
      <description>&lt;P&gt;I have a SOC (Security Operation Center) that has an API to receive alert content from splunk（splunk version 6.4.4）.When the alert is triggered, I hope Splunk can send the alert contents to SOC API. So what way should I send the alert type to SOC API?&lt;BR /&gt;
The fields and contents of each alert are different. In addition, it can be formatted as JSON?&lt;BR /&gt;
Should I use the &lt;CODE&gt;Run a script&lt;/CODE&gt; action?  Is there a best way sent alert content to SOC API ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 02:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438432#M11404</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2018-06-06T02:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a best way sent alert content to a API interface of other system</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438433#M11405</link>
      <description>&lt;P&gt;Yes, you can use webhook and Specify an URL to send JSON payload via HTTP POST. Refer below documentation. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/Alert/Webhooks"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/Alert/Webhooks&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 02:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438433#M11405</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-06-06T02:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a best way sent alert content to a API interface of other system</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438434#M11406</link>
      <description>&lt;P&gt;@gpradeepkumarreddy  ok, So My SOC system needs access result_link of json payload, then can get the alert content&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 02:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438434#M11406</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2018-06-06T02:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a best way sent alert content to a API interface of other system</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438435#M11407</link>
      <description>&lt;P&gt;This is the other way around, Splunk posts the response to the URL you specify.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 00:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438435#M11407</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-06-07T00:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a best way sent alert content to a API interface of other system</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438436#M11408</link>
      <description>&lt;P&gt;&lt;CODE&gt;Run a script&lt;/CODE&gt; is a deprecated feature, though I don't believe that it is in version 6.4.4. I would suggest doing a future-proof way of handling this, though I'm not sure if version 6.4.4 has an alternative (it has been a while since I ran 6.4, but I believe that this functionality will go back to 6.3). In recent releases you can create an &lt;CODE&gt;custom alert action&lt;/CODE&gt; and send any of the applicable data from the search to the API that you are using. It won't have to be a JSON string through a REST API if your API doesn't handle that. You can program any type of interface that you need. The custom alert action also has many UI advantages over the &lt;CODE&gt;Run a script&lt;/CODE&gt; action. Here is some documentation that might prove helpful to you:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.4/AdvancedDev/ModAlertsIntro"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.4/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 00:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-best-way-sent-alert-content-to-a-API-interface-of/m-p/438436#M11408</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2018-06-07T00:25:47Z</dc:date>
    </item>
  </channel>
</rss>

