<?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: OS X Application analytics: How to upload event data from anonymous applications to Splunk Cloud via REST API? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/OS-X-Application-analytics-How-to-upload-event-data-from/m-p/176892#M35497</link>
    <description>&lt;P&gt;Remote REST API is disabled for Splunk Cloud. To get this enabled, you will need to have a support ticket opened and REST access granted.&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jun 2015 18:04:24 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2015-06-27T18:04:24Z</dc:date>
    <item>
      <title>OS X Application analytics: How to upload event data from anonymous applications to Splunk Cloud via REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/OS-X-Application-analytics-How-to-upload-event-data-from/m-p/176891#M35496</link>
      <description>&lt;P&gt;I'm trying to load application usage information from my OS X application into Splunk Cloud. I've seen mint.splunk.com, and something like that would be almost exactly what I'm looking for. Unfortunately, Mint is iOS-specific (the framework links against UIKit), so I have to build something myself. I have my data assembled and when loaded into Splunk via a file upload, I get the results I'm looking for. I'm struggling with uploading data directly from the application to Splunk Cloud (I have a Cloud trial right now).&lt;/P&gt;

&lt;P&gt;With other analytics services, there is an API that you can use to submit data directly from the client to the server. I thought that the Splunk REST API would offer that kind of functionality, but I can't seem to get it working with Splunk Cloud, e.g.:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
curl -k -u {myusername} 'https://{myinstance}.cloud.splunk.com/services/receivers/simple?source=www&amp;amp;sourcetype=web_event' -d "event=myevent"&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;That generates an error:&lt;/P&gt;

&lt;P&gt;&amp;lt;h1&amp;gt;See Other&amp;lt;/h1&amp;gt;&amp;lt;p&amp;gt;The resource has moved temporarily &amp;lt;a href="https://{myinstance}.cloud.splunk.com/en-US/services/receivers/simple?source=www&amp;amp;sourcetype=web_event&amp;gt;&amp;lt;/a&amp;gt;"&lt;/P&gt;

&lt;P&gt;And when I use that URL (including the locale) I get a 404 "Not found" error. &lt;/P&gt;

&lt;P&gt;I could set up a forwarder on my server (I already use REST to send other data to my server), but I'm concerned about adding extra load, and the middle man really shouldn't be necessary.&lt;/P&gt;

&lt;P&gt;Does anyone have an example of using the Splunk REST API with Splunk Cloud specifically for uploading event data?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 21:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/OS-X-Application-analytics-How-to-upload-event-data-from/m-p/176891#M35496</guid>
      <dc:creator>bombich</dc:creator>
      <dc:date>2015-06-25T21:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: OS X Application analytics: How to upload event data from anonymous applications to Splunk Cloud via REST API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/OS-X-Application-analytics-How-to-upload-event-data-from/m-p/176892#M35497</link>
      <description>&lt;P&gt;Remote REST API is disabled for Splunk Cloud. To get this enabled, you will need to have a support ticket opened and REST access granted.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2015 18:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/OS-X-Application-analytics-How-to-upload-event-data-from/m-p/176892#M35497</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-06-27T18:04:24Z</dc:date>
    </item>
  </channel>
</rss>

