<?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: Javascript SDK client-side &amp;quot;examples&amp;quot; [Hello Word ] issue in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64980#M894</link>
    <description>&lt;P&gt;Thanks a lot your answer help to run the example at cleint-side. But i'am ficing another issue when I tried chart search result in my web application. here the error : ReferenceError: require is not defined&lt;BR /&gt;
[Stopper sur une erreur]    &lt;/P&gt;

&lt;P&gt;var utils        = require('../utils');&lt;/P&gt;

&lt;P&gt;charting.js (ligne 17)&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2013 11:24:13 GMT</pubDate>
    <dc:creator>Lossino</dc:creator>
    <dc:date>2013-03-19T11:24:13Z</dc:date>
    <item>
      <title>Javascript SDK client-side "examples" [Hello Word ] issue</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64978#M892</link>
      <description>&lt;P&gt;I'am facing an issue while I tried to run "Helloword" example from SDK package. I'am working on win 7 with splunk 5.0.1 (installed in local). I set up this following config with my own :&lt;BR /&gt;
      username = "admin";&lt;BR /&gt;
      password = "changeme";&lt;BR /&gt;
      scheme   = "https";&lt;BR /&gt;
      host     = "localhost";&lt;BR /&gt;
      port     = "8089";&lt;BR /&gt;
      version  = "5.0.1";&lt;BR /&gt;
But I run the example from browser it doesn't work and this error in my console: TypeError: req is undefined&lt;BR /&gt;
if (req.wasAborted) { &lt;/P&gt;

&lt;P&gt;Any help please !! &lt;/P&gt;

&lt;P&gt;thanks in advance.   &lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2013 10:38:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64978#M892</guid>
      <dc:creator>Lossino</dc:creator>
      <dc:date>2013-03-18T10:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript SDK client-side "examples" [Hello Word ] issue</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64979#M893</link>
      <description>&lt;P&gt;This is a bug in the splunk.js!&lt;/P&gt;

&lt;P&gt;Fix the error on the SDKPath/client/splunk.js @ Line-number 6002 &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt; "&lt;STRONG&gt;if (res.wasAborted)&lt;/STRONG&gt;" instead of "&lt;STRONG&gt;&lt;EM&gt;if (reg.wasAborted)&lt;/EM&gt;&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;or use the "splunk.min.js" instead.&lt;/P&gt;

&lt;P&gt;hope that helps,&lt;/P&gt;

&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 08:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64979#M893</guid>
      <dc:creator>Rocket66</dc:creator>
      <dc:date>2013-03-19T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript SDK client-side "examples" [Hello Word ] issue</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64980#M894</link>
      <description>&lt;P&gt;Thanks a lot your answer help to run the example at cleint-side. But i'am ficing another issue when I tried chart search result in my web application. here the error : ReferenceError: require is not defined&lt;BR /&gt;
[Stopper sur une erreur]    &lt;/P&gt;

&lt;P&gt;var utils        = require('../utils');&lt;/P&gt;

&lt;P&gt;charting.js (ligne 17)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 11:24:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64980#M894</guid>
      <dc:creator>Lossino</dc:creator>
      <dc:date>2013-03-19T11:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript SDK client-side "examples" [Hello Word ] issue</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64981#M895</link>
      <description>&lt;P&gt;"require()" is a NodeJS (server-side) command - so if you run a (Node)JS on client-side you will get an error.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 12:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64981#M895</guid>
      <dc:creator>Rocket66</dc:creator>
      <dc:date>2013-03-19T12:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript SDK client-side "examples" [Hello Word ] issue</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64982#M896</link>
      <description>&lt;P&gt;Ok thanks again. In fact, I'am now at server-side. my web application run on tomcat server. I'm able to connect to my splunk server from my web application, run searches and get results. So I need to draw some graphs from data results using timeline.js and charting.js. Whenever it seems that node.js is required(refer to the error occurred). Do I have to refer to node.js in my web application? or to install it?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 14:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Javascript-SDK-client-side-quot-examples-quot-Hello-Word-issue/m-p/64982#M896</guid>
      <dc:creator>Lossino</dc:creator>
      <dc:date>2013-03-19T14:44:44Z</dc:date>
    </item>
  </channel>
</rss>

