<?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: By-pass proxy service for javascript sdk in Security</title>
    <link>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128095#M3880</link>
    <description>&lt;P&gt;So, by digging around in the splunkjs source, I found you can also do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;var http = new splunkjs.JQueryHttp();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sure wish it was documented though!&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2015 19:03:49 GMT</pubDate>
    <dc:creator>kkatzgraukeyw</dc:creator>
    <dc:date>2015-07-07T19:03:49Z</dc:date>
    <item>
      <title>By-pass proxy service for javascript sdk</title>
      <link>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128093#M3878</link>
      <description>&lt;P&gt;I tried to browse the same web page as &lt;A href="http://answers.splunk.com/answers/55188/sdk-javascript-client-side-test-error-404.html"&gt;http://answers.splunk.com/answers/55188/sdk-javascript-client-side-test-error-404.html&lt;/A&gt;. And Getting the same error.&lt;/P&gt;

&lt;P&gt;I am looking for a way to bypass &lt;CODE&gt;/proxy&lt;/CODE&gt; service ( which is supposed to be run by node.js). &lt;/P&gt;

&lt;P&gt;In the client's js code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; var http = new splunkjs.ProxyHttp("/proxy");

         // Create a Service instance and log in 
         var service = new splunkjs.Service(http, {
             username: "admin",
             password: "admin",
             scheme: "https",
             host: "localhost",
            port: "8089"
     });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am looking for a way to create &lt;CODE&gt;http&lt;/CODE&gt; object that does not rely on &lt;CODE&gt;/proxy&lt;/CODE&gt; service to be run on my webserver. I could not find any way from the API documentation. Any help on how I can avoid creation of proxy service on my server and connect directly with splunk. I have a constraint of using a non-nodejs server. Does JS SDK allows that?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2014 11:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128093#M3878</guid>
      <dc:creator>mohitab</dc:creator>
      <dc:date>2014-11-20T11:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: By-pass proxy service for javascript sdk</title>
      <link>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128094#M3879</link>
      <description>&lt;P&gt;I figured out that the JS SDK for splunk creates a necessity of using /proxy service. Finally I did not use splunk SDK and worked out with basic Angular/JQuery.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 10:33:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128094#M3879</guid>
      <dc:creator>mohitab</dc:creator>
      <dc:date>2015-01-07T10:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: By-pass proxy service for javascript sdk</title>
      <link>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128095#M3880</link>
      <description>&lt;P&gt;So, by digging around in the splunkjs source, I found you can also do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;var http = new splunkjs.JQueryHttp();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sure wish it was documented though!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 19:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128095#M3880</guid>
      <dc:creator>kkatzgraukeyw</dc:creator>
      <dc:date>2015-07-07T19:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: By-pass proxy service for javascript sdk</title>
      <link>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128096#M3881</link>
      <description>&lt;P&gt;Thank you.. It worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 14:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/By-pass-proxy-service-for-javascript-sdk/m-p/128096#M3881</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2020-01-13T14:18:46Z</dc:date>
    </item>
  </channel>
</rss>

