<?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 Access Splunk's REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158352#M32113</link>
    <description>&lt;P&gt;You're still over-thinking it.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  There is no services directory, but you must still include it in your query.  Follow the manual and you should do fine.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2015 19:06:48 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2015-06-16T19:06:48Z</dc:date>
    <item>
      <title>How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158349#M32110</link>
      <description>&lt;P&gt;I'm working on sending requests to Splunk's REST API for the first time and have a few questions after reading through the tutorial/manual:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;I can't locate the &lt;CODE&gt;/services/&lt;/CODE&gt; directory under &lt;CODE&gt;/splunk/home/&lt;/CODE&gt;.  Is this created out of the box, or something we need to add in &lt;CODE&gt;/etc/apps&lt;/CODE&gt;?&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Our dev environment is currently http - will sending requests to &lt;A href="http://localhost:8080/"&gt;http://localhost:8080/&lt;/A&gt;... be sufficient for testing?&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Any insight is greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 17:46:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158349#M32110</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2015-06-16T17:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158350#M32111</link>
      <description>&lt;OL&gt;
&lt;LI&gt;You don't need to create anything for the REST API to work.&lt;/LI&gt;
&lt;LI&gt;That should work just fine.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 16 Jun 2015 18:08:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158350#M32111</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-06-16T18:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158351#M32112</link>
      <description>&lt;P&gt;Awesome - maybe I'm over-thinking this one.  So it's really as simple as if there is no &lt;EM&gt;/services/&lt;/EM&gt; directory just point it to wherever the saved search is IE &lt;A href="http://localhost:8080/en-US/apps/search/saved/searches"&gt;http://localhost:8080/en-US/apps/search/saved/searches&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 19:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158351#M32112</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2015-06-16T19:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158352#M32113</link>
      <description>&lt;P&gt;You're still over-thinking it.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  There is no services directory, but you must still include it in your query.  Follow the manual and you should do fine.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 19:06:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158352#M32113</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-06-16T19:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158353#M32114</link>
      <description>&lt;P&gt;There are numerous examples (using CURL) of using the Splunk REST API &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/RESTREF/RESTsearchExamples"&gt;in the reference manual.&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Via your browser you could also browse to &lt;A href="https://localhost:8089/services"&gt;https://localhost:8089/services&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Furthermore , we have &lt;A href="http://dev.splunk.com/sdks"&gt;many language SDK's&lt;/A&gt; that make it easier to programmatically interact with the Splunk REST API.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158353#M32114</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-06-17T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158354#M32115</link>
      <description>&lt;P&gt;Thanks, Damien&lt;/P&gt;

&lt;P&gt;Again the example you've posted goes back to using https with port 8089.  Our dev environment is currently http - would that make a difference?  Here is what I see when I use &lt;A href="http://localhost:8080"&gt;http://localhost:8080&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;The path '/en-US/services' was not found.&lt;/P&gt;

&lt;P&gt;What should I see here?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 12:26:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158354#M32115</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2015-06-19T12:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access Splunk's REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158355#M32116</link>
      <description>&lt;P&gt;8089 is splunk's default management port and the port you access the Rest Api at over https.&lt;/P&gt;

&lt;P&gt;Perhaps you are confusing yourself with the Splunk Web port which is by default 8000 and accessed over http.This is not Splunk's Rest Api endpoint.&lt;/P&gt;

&lt;P&gt;Please follow and try the advice in my prior post.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 12:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Access-Splunk-s-REST-API/m-p/158355#M32116</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-06-19T12:35:25Z</dc:date>
    </item>
  </channel>
</rss>

