<?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 do I add an API as a data source? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218892#M43014</link>
    <description>&lt;P&gt;Try to use this modular input for REST API&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2016 00:19:18 GMT</pubDate>
    <dc:creator>diogofgm</dc:creator>
    <dc:date>2016-06-24T00:19:18Z</dc:date>
    <item>
      <title>How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218886#M43008</link>
      <description>&lt;P&gt;I would like to add an API as a new data source in Splunk. I did a search in Documentation, but all I was able to find was information on the Splunk API. What am I missing?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:47:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218886#M43008</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2016-06-14T18:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218887#M43009</link>
      <description>&lt;P&gt;Is this what you are looking for? &lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE6M"&gt;http://dev.splunk.com/view/event-collector/SP-CAAAE6M&lt;/A&gt;&lt;BR /&gt;
Not quite sure on your question&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:07:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218887#M43009</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2016-06-14T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218888#M43010</link>
      <description>&lt;P&gt;I am trying to do is download data over https.  I have a tenant id, user id and pw.  Not sure if I should be using the "HTTP Event Collector" or the "REST API" data input.  I don't see any configuration entry on either one of these data inputs that fit the credentials I was provided.  &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218888#M43010</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2016-06-14T19:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218889#M43011</link>
      <description>&lt;P&gt;May be write a script to do the download and write to a file which Splunk can monitor OR output to console ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218889#M43011</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-14T19:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218890#M43012</link>
      <description>&lt;P&gt;Doesn't having to write a script defeat the reason for the API?  I was able to add a different API in version 6.3 of Splunk Enterprise but after the upgraded to 6.4.1, the input method has been changed and I don't see how to match the information I have to start the data input.  &lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:57:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218890#M43012</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2016-06-15T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218891#M43013</link>
      <description>&lt;P&gt;After much searching, I must agree that a script is the only way that I can do this.  I found documentation on the application API and the basic setup is &lt;BR /&gt;
 1. Request a token, suppling  "key", "username", "password" using HTTPS&lt;BR /&gt;
 2. Receive a token that expires after 30 minutes&lt;BR /&gt;
 3. Utilizing JWT, pass this token in the HTTPS authorization header of every request&lt;BR /&gt;
 4. Receive requested data in JSON format&lt;BR /&gt;
 5. Repeat 3 and 4 for  each data point&lt;BR /&gt;
 6. And hope it doesn't take 30 minutes to complete the downloads&lt;/P&gt;

&lt;P&gt;The application vendor has sample scripts (in C#) for each type of data requested so I can start converting to Python.  &lt;/P&gt;

&lt;P&gt;Which of these Data Inputs should I use REST API, HTTP Event Collector or Scripts?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218891#M43013</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2016-06-23T20:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an API as a data source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218892#M43014</link>
      <description>&lt;P&gt;Try to use this modular input for REST API&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 00:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-add-an-API-as-a-data-source/m-p/218892#M43014</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2016-06-24T00:19:18Z</dc:date>
    </item>
  </channel>
</rss>

