<?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 How do we use Javascript to connect and send data to HTTP Event Collector? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431850#M28452</link>
    <description>&lt;P&gt;We would like to know what is the simplest way to use JavaScript in a basic web application to send data to Splunk?   I've tried a few examples without success over the past few days and it's just gotten frustrating.   Does anyone have any simple example of getting this working with XMLHttpRequest functions?   &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2019 17:09:56 GMT</pubDate>
    <dc:creator>sweatherly</dc:creator>
    <dc:date>2019-04-25T17:09:56Z</dc:date>
    <item>
      <title>How do we use Javascript to connect and send data to HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431850#M28452</link>
      <description>&lt;P&gt;We would like to know what is the simplest way to use JavaScript in a basic web application to send data to Splunk?   I've tried a few examples without success over the past few days and it's just gotten frustrating.   Does anyone have any simple example of getting this working with XMLHttpRequest functions?   &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 17:09:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431850#M28452</guid>
      <dc:creator>sweatherly</dc:creator>
      <dc:date>2019-04-25T17:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do we use Javascript to connect and send data to HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431851#M28453</link>
      <description>&lt;P&gt;@sweatherly have you tried Overview of Splunk Logging for JavaScript on Splunk Dev which is currently under beta?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/splunk-logging-javascript/SP-CAAAE6U"&gt;http://dev.splunk.com/view/splunk-logging-javascript/SP-CAAAE6U&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 17:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431851#M28453</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-25T17:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do we use Javascript to connect and send data to HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431852#M28454</link>
      <description>&lt;P&gt;Yes, I have.  Have you gotten this to work?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 18:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431852#M28454</guid>
      <dc:creator>sweatherly</dc:creator>
      <dc:date>2019-04-25T18:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do we use Javascript to connect and send data to HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431853#M28455</link>
      <description>&lt;P&gt;Additional details:   When I follow the instructions exactly, we are getting the following:&lt;/P&gt;

&lt;P&gt;On the step where it states:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;npm install --save splunk-logging&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;this is the result... &lt;/P&gt;

&lt;P&gt;&lt;EM&gt;npm ERR! code ENOSELF&lt;BR /&gt;
npm ERR! Refusing to install package with name "splunk-logging" under a package&lt;BR /&gt;
npm ERR! also called "splunk-logging". Did you name your project the same&lt;BR /&gt;
npm ERR! as the dependency you're installing?&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;How do we get past this?  Is there something we are missing?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 15:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431853#M28455</guid>
      <dc:creator>sweatherly</dc:creator>
      <dc:date>2019-04-26T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do we use Javascript to connect and send data to HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431854#M28456</link>
      <description>&lt;P&gt;Hi folks,   we anticipate that no one has experienced this? Any clue would assist if this has been seen before with the installer.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 16:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-we-use-Javascript-to-connect-and-send-data-to-HTTP-Event/m-p/431854#M28456</guid>
      <dc:creator>sweatherly</dc:creator>
      <dc:date>2019-04-29T16:28:51Z</dc:date>
    </item>
  </channel>
</rss>

