<?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 REST API Access in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562585#M46307</link>
    <description>&lt;P&gt;Hi all&amp;nbsp; :),&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to use Splunk rest API using postman.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when I try to make a request on port 8089 I am getting a "COULD NOT GET ANY RESPONSE".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the url is the right one and the host is listening to the port&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I cant get a response using curl and python either &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the web UI is working properly (port 8000) and sending data using HEC too (port 8089)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 13:58:35 GMT</pubDate>
    <dc:creator>niraro</dc:creator>
    <dc:date>2021-08-09T13:58:35Z</dc:date>
    <item>
      <title>REST API Access</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562585#M46307</link>
      <description>&lt;P&gt;Hi all&amp;nbsp; :),&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to use Splunk rest API using postman.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when I try to make a request on port 8089 I am getting a "COULD NOT GET ANY RESPONSE".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the url is the right one and the host is listening to the port&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I cant get a response using curl and python either &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the web UI is working properly (port 8000) and sending data using HEC too (port 8089)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 13:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562585#M46307</guid>
      <dc:creator>niraro</dc:creator>
      <dc:date>2021-08-09T13:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Access</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562618#M46309</link>
      <description>&lt;P&gt;How do you know the host and port are correct, if you can't get a response? Or perhaps they are correct, and you have a firewall between you and the host? We can't help you with the firewall scenario, but if you are certain it's correct, try a basic curl command, so you can test connectivity. If you can't connect, you can send the basic command and the result, to your network/firewall admins.&lt;BR /&gt;&lt;BR /&gt;From this page: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/RESTUM/RESTusing" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/RESTUM/RESTusing&lt;/A&gt;&lt;BR /&gt;Try this curl command, see if you get through, and if so, what the response is.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k https://localhost:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=pass&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562618#M46309</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2021-08-09T14:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Access</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562711#M46316</link>
      <description>&lt;P&gt;Hi, thank you for answering.&lt;/P&gt;&lt;P&gt;I know the hostname is correct becose I can send events to that url and the port I am trying to make a request to is the deafult mgmt port (8089).&lt;/P&gt;&lt;P&gt;There is no firewall between me and the host and I've tried changing the mgmt port (to 8090 using the etc/system/deafult/web.conf file) and the same problem occured.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 08:11:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/REST-API-Access/m-p/562711#M46316</guid>
      <dc:creator>niraro</dc:creator>
      <dc:date>2021-08-10T08:11:27Z</dc:date>
    </item>
  </channel>
</rss>

