<?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: HTTP Event Collector Indexer Acknowledgment Returns &amp;quot;Invalid data format&amp;quot; &amp;quot;code&amp;quot;:6 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/HTTP-Event-Collector-Indexer-Acknowledgment-Returns-quot-Invalid/m-p/574695#M101570</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are using the following command&lt;/P&gt;&lt;PRE&gt;curl -k https://10.1.10.20:8088/services/collector/ack?channel=FE0ECFAD-13D5-401B-847D-77833BD77132 -H "Authorization: Splunk 9cedcd53-b32d-43ba-9cb6-25a211c720bc" -d "{"acks":"0"}"&lt;/PRE&gt;&lt;P&gt;The format you should be using per &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Data/AboutHECIDXAck" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Data/AboutHECIDXAck&lt;/A&gt; is as follows:&lt;/P&gt;&lt;PRE&gt;curl &lt;A href="https://mysplunk.com/services/collector?channel=FE0ECFAD-13D5-401B-847D-77833BD77131" target="_blank" rel="noopener"&gt;https://mysplunk.com/services/collector?channel=FE0ECFAD-13D5-401B-847D-77833BD77131 &lt;/A&gt;&lt;BR /&gt;-H "Authorization: Splunk BD274822-96AA-4DA6-90EC-18940FB2414C" -d '&amp;lt;data&amp;gt;' -v&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You are referencing &lt;STRONG&gt;collector/ack?channel&lt;/STRONG&gt;, but should be referencing &lt;STRONG&gt;collector?channel&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 07:20:30 GMT</pubDate>
    <dc:creator>ro_mc</dc:creator>
    <dc:date>2021-11-12T07:20:30Z</dc:date>
    <item>
      <title>HTTP Event Collector Indexer Acknowledgment Returns "Invalid data format" "code":6</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HTTP-Event-Collector-Indexer-Acknowledgment-Returns-quot-Invalid/m-p/531373#M89394</link>
      <description>&lt;P&gt;On a Linux host I am testing our HEC Indexer Acknowledgement setup on our heavy forwarder and following the documentation example but I keep running into "invalid data format" errors.&lt;BR /&gt;&lt;BR /&gt;I am running&amp;nbsp; the following command to ingest data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl https://10.1.10.20:8088/services/collector  -H "X-Splunk-Request-Channel: FE0ECFAD-13D5-401B-847D-77833BD77132" -H "Authorization: Splunk 9cedcd53-b32d-43ba-9cb6-25a211c720bc" -d '{ "host": "labPC", "source": "testCurl", "event": {  "message": "Did I Make It?", "severity": "INFO"} }' -k&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The data is getting indexed and I am receiving the following status code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"text":"Success","code":0,"ackId":1}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But when I run the following command to verify the indexing status:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k https://10.1.10.20:8088/services/collector/ack?channel=FE0ECFAD-13D5-401B-847D-77833BD77132 -H "Authorization: Splunk 9cedcd53-b32d-43ba-9cb6-25a211c720bc" -d "{"acks":"0"}"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or any variation of "acks" "ack" "ackId" "0" "[0]" or escaping I keep getting the same result&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"text":"Invalid data format","code":6}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help or guidance would be most appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 18:06:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HTTP-Event-Collector-Indexer-Acknowledgment-Returns-quot-Invalid/m-p/531373#M89394</guid>
      <dc:creator>qf</dc:creator>
      <dc:date>2020-11-30T18:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector Indexer Acknowledgment Returns "Invalid data format" "code":6</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HTTP-Event-Collector-Indexer-Acknowledgment-Returns-quot-Invalid/m-p/574695#M101570</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are using the following command&lt;/P&gt;&lt;PRE&gt;curl -k https://10.1.10.20:8088/services/collector/ack?channel=FE0ECFAD-13D5-401B-847D-77833BD77132 -H "Authorization: Splunk 9cedcd53-b32d-43ba-9cb6-25a211c720bc" -d "{"acks":"0"}"&lt;/PRE&gt;&lt;P&gt;The format you should be using per &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Data/AboutHECIDXAck" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Data/AboutHECIDXAck&lt;/A&gt; is as follows:&lt;/P&gt;&lt;PRE&gt;curl &lt;A href="https://mysplunk.com/services/collector?channel=FE0ECFAD-13D5-401B-847D-77833BD77131" target="_blank" rel="noopener"&gt;https://mysplunk.com/services/collector?channel=FE0ECFAD-13D5-401B-847D-77833BD77131 &lt;/A&gt;&lt;BR /&gt;-H "Authorization: Splunk BD274822-96AA-4DA6-90EC-18940FB2414C" -d '&amp;lt;data&amp;gt;' -v&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You are referencing &lt;STRONG&gt;collector/ack?channel&lt;/STRONG&gt;, but should be referencing &lt;STRONG&gt;collector?channel&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:20:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HTTP-Event-Collector-Indexer-Acknowledgment-Returns-quot-Invalid/m-p/574695#M101570</guid>
      <dc:creator>ro_mc</dc:creator>
      <dc:date>2021-11-12T07:20:30Z</dc:date>
    </item>
  </channel>
</rss>

