<?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 Forward to third-party API via POST in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forward-to-third-party-API-via-POST/m-p/425721#M74607</link>
    <description>&lt;P&gt;The target API expects entries to come via a specific URL endpoint and works with json files.&lt;BR /&gt;
I managed to create an entry in the system with curl but I need Splunk to index and then forward entries in json format.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST -H "Accept: application/json" -u "username:password" &lt;A href="https://ENDPOINT_HOST:8081/loggingservice/security-events" target="test_blank"&gt;https://ENDPOINT_HOST:8081/loggingservice/security-events&lt;/A&gt; -d @entry.json
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Jun 2019 07:32:31 GMT</pubDate>
    <dc:creator>vstariradev</dc:creator>
    <dc:date>2019-06-14T07:32:31Z</dc:date>
    <item>
      <title>Forward to third-party API via POST</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-to-third-party-API-via-POST/m-p/425721#M74607</link>
      <description>&lt;P&gt;The target API expects entries to come via a specific URL endpoint and works with json files.&lt;BR /&gt;
I managed to create an entry in the system with curl but I need Splunk to index and then forward entries in json format.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST -H "Accept: application/json" -u "username:password" &lt;A href="https://ENDPOINT_HOST:8081/loggingservice/security-events" target="test_blank"&gt;https://ENDPOINT_HOST:8081/loggingservice/security-events&lt;/A&gt; -d @entry.json
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Jun 2019 07:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-to-third-party-API-via-POST/m-p/425721#M74607</guid>
      <dc:creator>vstariradev</dc:creator>
      <dc:date>2019-06-14T07:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Forward to third-party API via POST</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-to-third-party-API-via-POST/m-p/425722#M74608</link>
      <description>&lt;P&gt;I am looking for the same solution. May be a custom command using Python script will help.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 23:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-to-third-party-API-via-POST/m-p/425722#M74608</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2020-02-15T23:07:01Z</dc:date>
    </item>
  </channel>
</rss>

