<?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 Splunk 6.5.2: Why am I unable to add data via HTTP Event Collector? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269032#M51665</link>
    <description>&lt;P&gt;Working with Splunk 6.5.2. Using following curl command data ingestion fails:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ curl -k  &lt;A href="https://localhost:8088/services/collector/event" target="test_blank"&gt;https://localhost:8088/services/collector/event&lt;/A&gt; -H "Authorization: Splunk D61EE079-8108-4DC8-ADF6-F139402993" -d "{\"hello\": \"world\"}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Response:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"text":"No data","code":5}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This was working fine with Splunk 6.3 and 6.4.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2017 10:27:40 GMT</pubDate>
    <dc:creator>phagunbaya</dc:creator>
    <dc:date>2017-01-30T10:27:40Z</dc:date>
    <item>
      <title>Splunk 6.5.2: Why am I unable to add data via HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269032#M51665</link>
      <description>&lt;P&gt;Working with Splunk 6.5.2. Using following curl command data ingestion fails:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ curl -k  &lt;A href="https://localhost:8088/services/collector/event" target="test_blank"&gt;https://localhost:8088/services/collector/event&lt;/A&gt; -H "Authorization: Splunk D61EE079-8108-4DC8-ADF6-F139402993" -d "{\"hello\": \"world\"}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Response:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"text":"No data","code":5}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This was working fine with Splunk 6.3 and 6.4.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 10:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269032#M51665</guid>
      <dc:creator>phagunbaya</dc:creator>
      <dc:date>2017-01-30T10:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.2: Why am I unable to add data via HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269033#M51666</link>
      <description>&lt;P&gt;Check that you do not have  useDeploymentServer = 1 in the HEC config on your HF. You ONLY want that on at the DS. Sending it down to the HF causes it to look for tokens etc under deployment-apps instead of apps.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 02:17:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269033#M51666</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-02-10T02:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.2: Why am I unable to add data via HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269034#M51667</link>
      <description>&lt;P&gt;@phagunbaya - Did the answer provided by starcher help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 21:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269034#M51667</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-03-12T21:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.2: Why am I unable to add data via HTTP Event Collector?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269035#M51668</link>
      <description>&lt;P&gt;Issue was that HEC accepts data in specified format. Sending data as {"time": "", "event":{"hello": "world"}} worked.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 01:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-5-2-Why-am-I-unable-to-add-data-via-HTTP-Event/m-p/269035#M51668</guid>
      <dc:creator>phagunbaya</dc:creator>
      <dc:date>2017-03-13T01:16:45Z</dc:date>
    </item>
  </channel>
</rss>

