<?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 Splunk Rest calls not available in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348703#M64058</link>
    <description>&lt;P&gt;We have splunk enterprise 6.5.2.&lt;/P&gt;

&lt;P&gt;We are trying to access Splunk Rest API&lt;/P&gt;

&lt;P&gt;curl -u : -k &lt;A href="http://:8089/services/alerts/fired_alerts" target="test_blank"&gt;http://:8089/services/alerts/fired_alerts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is the error I get while running the above command with the updated hostname and credentials.&lt;BR /&gt;
curl: (56) Failure when receiving data from the peer&lt;/P&gt;

&lt;P&gt;Can you suggest what is wrong and do I have to enable anything to access splunk API?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 23:43:40 GMT</pubDate>
    <dc:creator>rbathla</dc:creator>
    <dc:date>2017-11-01T23:43:40Z</dc:date>
    <item>
      <title>Splunk Rest calls not available</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348703#M64058</link>
      <description>&lt;P&gt;We have splunk enterprise 6.5.2.&lt;/P&gt;

&lt;P&gt;We are trying to access Splunk Rest API&lt;/P&gt;

&lt;P&gt;curl -u : -k &lt;A href="http://:8089/services/alerts/fired_alerts" target="test_blank"&gt;http://:8089/services/alerts/fired_alerts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is the error I get while running the above command with the updated hostname and credentials.&lt;BR /&gt;
curl: (56) Failure when receiving data from the peer&lt;/P&gt;

&lt;P&gt;Can you suggest what is wrong and do I have to enable anything to access splunk API?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 23:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348703#M64058</guid>
      <dc:creator>rbathla</dc:creator>
      <dc:date>2017-11-01T23:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest calls not available</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348704#M64059</link>
      <description>&lt;P&gt;Can someone suggest what are we missing?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 03:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348704#M64059</guid>
      <dc:creator>rbathla</dc:creator>
      <dc:date>2017-11-14T03:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest calls not available</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348705#M64060</link>
      <description>&lt;P&gt;By default the REST API is run over SSL, so try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -u : -k https://[hostname]:8089/services/alerts/fired_alerts
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Nov 2017 04:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Rest-calls-not-available/m-p/348705#M64060</guid>
      <dc:creator>abhutiani</dc:creator>
      <dc:date>2017-11-14T04:04:50Z</dc:date>
    </item>
  </channel>
</rss>

