<?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- Is there something wrong with this curl command? in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672185#M2692</link>
    <description>&lt;P&gt;Hello, I tested my curl is now working but I always get this error with Mulesoft HEC&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 13:55:18 GMT</pubDate>
    <dc:creator>splunkerhtml</dc:creator>
    <dc:date>2023-12-18T13:55:18Z</dc:date>
    <item>
      <title>HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672046#M2684</link>
      <description>&lt;P&gt;hI&lt;/P&gt;&lt;P&gt;Currently trying to test an HTTP event collector token by directly sending events to the cloud before we use the HEC for a OpenTelemetry Connector, but we are getting stuck at 403 Forbidden error. Is there something wrong with this curl command?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if it affects anything but we are still on the Splunk Cloud Classic&lt;/P&gt;&lt;P&gt;Screenshots attached, appreciate any help we can get!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="&amp;amp;.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28533i9D6B1C53E8FC58F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="&amp;amp;.PNG" alt="&amp;amp;.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 15:29:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672046#M2684</guid>
      <dc:creator>splunkerhtml</dc:creator>
      <dc:date>2023-12-15T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672069#M2685</link>
      <description>&lt;P&gt;Error 403 means the token is incorrect or disabled.&amp;nbsp; Check that the curl command has the right token.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 19:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672069#M2685</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-15T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672077#M2686</link>
      <description>&lt;P&gt;For those who like to learn the different error codes and their details:&lt;/P&gt;&lt;H2&gt;&lt;SPAN class=""&gt;Possible error codes&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;The following status codes have particular meaning for all HTTP Event Collector endpoints:&lt;/P&gt;&lt;P&gt;Status code HTTP status code ID HTTP status code Status message&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;OK&lt;/TD&gt;&lt;TD&gt;Success&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;403&lt;/TD&gt;&lt;TD&gt;Forbidden&lt;/TD&gt;&lt;TD&gt;Token disabled&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;401&lt;/TD&gt;&lt;TD&gt;Unauthorized&lt;/TD&gt;&lt;TD&gt;Token is required&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;401&lt;/TD&gt;&lt;TD&gt;Unauthorized&lt;/TD&gt;&lt;TD&gt;Invalid authorization&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;403&lt;/TD&gt;&lt;TD&gt;Forbidden&lt;/TD&gt;&lt;TD&gt;Invalid token&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;No data&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Invalid data format&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Incorrect index&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;Internal Error&lt;/TD&gt;&lt;TD&gt;Internal server error&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;503&lt;/TD&gt;&lt;TD&gt;Service Unavailable&lt;/TD&gt;&lt;TD&gt;Server is busy&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Data channel is missing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Invalid data channel&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Event field is required&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Event field cannot be blank&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;ACK is disabled&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Error in handling indexed fields&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;Bad Request&lt;/TD&gt;&lt;TD&gt;Query string authorization is not enabled&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more info on HEC troubleshooting:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.2/Data/TroubleshootHTTPEventCollector" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.2/Data/TroubleshootHTTPEventCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, have a great day!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 21:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672077#M2686</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-12-15T21:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672148#M2687</link>
      <description>&lt;P&gt;My token is valid, I tried with 2 differents token created &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 08:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672148#M2687</guid>
      <dc:creator>splunkerhtml</dc:creator>
      <dc:date>2023-12-18T08:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672155#M2689</link>
      <description>&lt;P&gt;Well, your HEC input disagrees with you.&lt;/P&gt;&lt;P&gt;If your data was wrong you'd get a different code (typically a round 400).&lt;/P&gt;&lt;P&gt;403 means that your token doesn't match the allowed tokens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 08:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672155#M2689</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-12-18T08:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672158#M2690</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="splunkerhtml_0-1702888942331.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28561iB4B9D361CCD70D0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="splunkerhtml_0-1702888942331.png" alt="splunkerhtml_0-1702888942331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this perhaps due to some configuration here, no?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 08:42:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672158#M2690</guid>
      <dc:creator>splunkerhtml</dc:creator>
      <dc:date>2023-12-18T08:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672177#M2691</link>
      <description>&lt;P&gt;Might be. I'm not very strong on Cloud.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 10:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672177#M2691</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-12-18T10:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672185#M2692</link>
      <description>&lt;P&gt;Hello, I tested my curl is now working but I always get this error with Mulesoft HEC&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 13:55:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672185#M2692</guid>
      <dc:creator>splunkerhtml</dc:creator>
      <dc:date>2023-12-18T13:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Event Collector- Is there something wrong with this curl command?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672229#M2693</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263366"&gt;@splunkerhtml&lt;/a&gt;, may i know, after creating the token, did you do copy-paste ?!?!&lt;BR /&gt;after pasting, maybe, thee is a chance that, you included a space and entered ?!?! (many times many of my friends faced this issue!)&lt;BR /&gt;just double check the token created and copy pasted, then update us, thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;or, is this a production project?.. then you may contact Splunk Cloud Support. they should be able to help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Upvotes / karma points are appreciated by everybody, thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 00:00:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/HTTP-Event-Collector-Is-there-something-wrong-with-this-curl/m-p/672229#M2693</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-12-19T00:00:23Z</dc:date>
    </item>
  </channel>
</rss>

