<?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: How to write API results made by splunk Alert action to a custom index in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522334#M9757</link>
    <description>&lt;P&gt;I think you've asked this question before.&amp;nbsp; I don't have experience with the SDK so I can't help in that area.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 18:09:22 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-09-30T18:09:22Z</dc:date>
    <item>
      <title>How to write API results made by splunk Alert action to a custom index</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522130#M9752</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have a requirement to forward events from a search result to an API and store the response from the API call made by an alert action back to a custom index. How can I achieve this. Please help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:23:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522130#M9752</guid>
      <dc:creator>nareshkumarg</dc:creator>
      <dc:date>2020-09-30T01:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to write API results made by splunk Alert action to a custom index</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522264#M9755</link>
      <description>&lt;P&gt;Sounds like you need a custom search command.&amp;nbsp; See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/Search/Aboutcustomsearchcommands" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.6/Search/Aboutcustomsearchcommands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 13:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522264#M9755</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-30T13:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write API results made by splunk Alert action to a custom index</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522280#M9756</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;I have built an addon to create an alert action where My API call works. Once the call gets completed the API responds with a JSON data which I want to store on a custom index. Currently, it stores the data by default into the Main index which we don't want to use.&lt;/P&gt;&lt;P&gt;I used the following code using the Splunk add-on builder to write it but it writes the data into the Main index.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;helper.addevent("hello", sourcetype="customsource")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;helper.addevent("world", sourcetype="customsource")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;helper.writeevents(index="mycustomindex", host="localhost", source="localhost")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How to proceed further.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:28:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522280#M9756</guid>
      <dc:creator>nareshkumarg</dc:creator>
      <dc:date>2020-09-30T14:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to write API results made by splunk Alert action to a custom index</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522334#M9757</link>
      <description>&lt;P&gt;I think you've asked this question before.&amp;nbsp; I don't have experience with the SDK so I can't help in that area.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522334#M9757</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-30T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write API results made by splunk Alert action to a custom index</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522679#M9765</link>
      <description>&lt;P&gt;Looks like the only way is to use HEC method to make an API call back to store the data in to an index we want. Kind of a pain but this what I got from Splunk support. I wonder whether Splunk will add this feature OOB on its future version.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 14:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/522679#M9765</guid>
      <dc:creator>nareshkumarg</dc:creator>
      <dc:date>2020-10-02T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to write API results made by splunk Alert action to a custom index</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/665964#M15436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/215247"&gt;@nareshkumarg&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you find a solution to the above? If so, could you please let me know what you found?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 04:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-write-API-results-made-by-splunk-Alert-action-to-a-custom/m-p/665964#M15436</guid>
      <dc:creator>AMAN0113</dc:creator>
      <dc:date>2023-10-24T04:24:49Z</dc:date>
    </item>
  </channel>
</rss>

