<?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 Is it possible to access Splunk SDK in an application dashboard via javascript? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-access-Splunk-SDK-in-an-application-dashboard/m-p/413708#M27193</link>
    <description>&lt;P&gt;It seems that a Splunk application runs on port 8000 and the SDK runs on port 6969. &lt;BR /&gt;
While keeping the dashboard in the Splunk web server, can I access the SDK from the dashboard at the same time?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 03:03:29 GMT</pubDate>
    <dc:creator>yucheng4</dc:creator>
    <dc:date>2019-06-12T03:03:29Z</dc:date>
    <item>
      <title>Is it possible to access Splunk SDK in an application dashboard via javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-access-Splunk-SDK-in-an-application-dashboard/m-p/413708#M27193</link>
      <description>&lt;P&gt;It seems that a Splunk application runs on port 8000 and the SDK runs on port 6969. &lt;BR /&gt;
While keeping the dashboard in the Splunk web server, can I access the SDK from the dashboard at the same time?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 03:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-access-Splunk-SDK-in-an-application-dashboard/m-p/413708#M27193</guid>
      <dc:creator>yucheng4</dc:creator>
      <dc:date>2019-06-12T03:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to access Splunk SDK in an application dashboard via javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-access-Splunk-SDK-in-an-application-dashboard/m-p/413709#M27194</link>
      <description>&lt;P&gt;Off course you can&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
    "splunkjs/mvc",
    "splunkjs/mvc/simplexml/ready!"
], function(mvc) {
  var splunk_service = mvc.createService();
  ... 

});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;splunk_service&lt;/STRONG&gt; is your SDK's service instance&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 06:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-access-Splunk-SDK-in-an-application-dashboard/m-p/413709#M27194</guid>
      <dc:creator>paramagurukarth</dc:creator>
      <dc:date>2019-06-13T06:31:50Z</dc:date>
    </item>
  </channel>
</rss>

