<?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: Problems using REST interface with browser over tunneled ports? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problems-using-REST-interface-with-browser-over-tunneled-ports/m-p/200009#M39548</link>
    <description>&lt;P&gt;There was a syntax error somewhere in the JavaScript, some missing punctuation. It can be difficult to find problems like these.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Oct 2016 16:47:28 GMT</pubDate>
    <dc:creator>mdwecht</dc:creator>
    <dc:date>2016-10-16T16:47:28Z</dc:date>
    <item>
      <title>Problems using REST interface with browser over tunneled ports?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-using-REST-interface-with-browser-over-tunneled-ports/m-p/200008#M39547</link>
      <description>&lt;P&gt;I successfully ran the following KV Store Tutorial (HTML dashboard code) on a firefox browser self contained 6.4.1 Splunk Enterprise instance on my Windows 8.1 laptop with the standard Splunk default ports for web, mgmt, app server, and kvstore.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/webframework-features/SP-CAAAEZ2"&gt;http://dev.splunk.com/view/webframework-features/SP-CAAAEZ2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Now I am trying to use the same code with a firefox browser running on a Windows 7 box with tunneled ports via Puttty to a remote Centos box running a Splunk Enterprise 6.4.1 instance. The Splunk instance is configured to use ports other than the default ports. The web tunneled port is working because I can login to Splunk and bring up the HTML dashboard. When I attempt to click the submit button to generate a REST POST request to save fields to the KV store I get a Splunkd is not available error in the browser debugger. I attempted to modify the JavaScript code to change the mgmt port to the actual configured port but the port being included in the REST POST request as I view it in the browser debugger is still the default port. Am I missing something here?&lt;/P&gt;

&lt;P&gt;Any suggestions would be appreciated. I added tunnels for the web, mgmt, and kvstore just to be safe.&lt;/P&gt;

&lt;P&gt;On another note: When I changed the ports on the standalone laptop Splunk instance to match the Centos Splunk instance the app ran with out any changes to the JavaScript.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 05:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-using-REST-interface-with-browser-over-tunneled-ports/m-p/200008#M39547</guid>
      <dc:creator>mdwecht</dc:creator>
      <dc:date>2016-07-29T05:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using REST interface with browser over tunneled ports?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-using-REST-interface-with-browser-over-tunneled-ports/m-p/200009#M39548</link>
      <description>&lt;P&gt;There was a syntax error somewhere in the JavaScript, some missing punctuation. It can be difficult to find problems like these.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2016 16:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-using-REST-interface-with-browser-over-tunneled-ports/m-p/200009#M39548</guid>
      <dc:creator>mdwecht</dc:creator>
      <dc:date>2016-10-16T16:47:28Z</dc:date>
    </item>
  </channel>
</rss>

