<?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 Need help to send data Splunk Cloud using HEC in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638401#M109022</link>
    <description>&lt;P&gt;hi all&lt;BR /&gt;new to Splunk and its ecosystem&lt;BR /&gt;I was asked to research it a bit and try to inject data in 2 ways: local file and using REST Api&lt;BR /&gt;&lt;BR /&gt;I added local CSV file data to the Splunk Cloud from the "Add data --&amp;gt; Upload" option.&lt;/P&gt;&lt;P&gt;so far, so good.&lt;BR /&gt;&lt;BR /&gt;now I'm trying to add some data using the HTTP Event Collector options.&lt;/P&gt;&lt;P&gt;I defined a new HOC and I have a valid token now.&lt;BR /&gt;&lt;BR /&gt;now I got some questions:&lt;BR /&gt;1. How do I&amp;nbsp; actually send the data using Postman or some other HTTP tool ? except for the token I don't even know what URL I should invoke.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. In what format should I send data? I'm guessing JSON or CSV but I can't find any information about support types and schemas.&lt;BR /&gt;&lt;BR /&gt;3. Is there some sort of full documentation of the API? LIKE, swagger style?&lt;BR /&gt;&lt;BR /&gt;since this is only POC I need some help or examples to get me started&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Amir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 15:10:12 GMT</pubDate>
    <dc:creator>dardar</dc:creator>
    <dc:date>2023-04-03T15:10:12Z</dc:date>
    <item>
      <title>Need help to send data Splunk Cloud using HEC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638401#M109022</link>
      <description>&lt;P&gt;hi all&lt;BR /&gt;new to Splunk and its ecosystem&lt;BR /&gt;I was asked to research it a bit and try to inject data in 2 ways: local file and using REST Api&lt;BR /&gt;&lt;BR /&gt;I added local CSV file data to the Splunk Cloud from the "Add data --&amp;gt; Upload" option.&lt;/P&gt;&lt;P&gt;so far, so good.&lt;BR /&gt;&lt;BR /&gt;now I'm trying to add some data using the HTTP Event Collector options.&lt;/P&gt;&lt;P&gt;I defined a new HOC and I have a valid token now.&lt;BR /&gt;&lt;BR /&gt;now I got some questions:&lt;BR /&gt;1. How do I&amp;nbsp; actually send the data using Postman or some other HTTP tool ? except for the token I don't even know what URL I should invoke.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. In what format should I send data? I'm guessing JSON or CSV but I can't find any information about support types and schemas.&lt;BR /&gt;&lt;BR /&gt;3. Is there some sort of full documentation of the API? LIKE, swagger style?&lt;BR /&gt;&lt;BR /&gt;since this is only POC I need some help or examples to get me started&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Amir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:10:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638401#M109022</guid>
      <dc:creator>dardar</dc:creator>
      <dc:date>2023-04-03T15:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to send data Splunk Cloud using HEC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638416#M109026</link>
      <description>&lt;P&gt;There are good examples of HEC usage in the docs.&amp;nbsp; Start with&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.0.2209/Data/UsetheHTTPEventCollector" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.0.2209/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638416#M109026</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-03T15:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to send data Splunk Cloud using HEC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638568#M109035</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;thanks for the link.&lt;BR /&gt;&lt;BR /&gt;from the link you shared:&lt;/P&gt;&lt;P&gt;The standard form for the HEC URI in Splunk Cloud Platform free trials is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;lt;protocol&amp;gt;://http-inputs-&amp;lt;host&amp;gt;.splunkcloud.com:&amp;lt;port&amp;gt;/&amp;lt;endpoint&amp;gt;&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The standard form for the HEC URI in Splunk Cloud Platform is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;lt;protocol&amp;gt;://http-inputs-&amp;lt;host&amp;gt;.splunkcloud.com:&amp;lt;port&amp;gt;/&amp;lt;endpoint&amp;gt;&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The standard form for the HEC URI in Splunk Cloud Platform on Google Cloud is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;lt;protocol&amp;gt;://http-inputs.&amp;lt;host&amp;gt;.splunkcloud.com:&amp;lt;port&amp;gt;/&amp;lt;endpoint&amp;gt;&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=""&gt;&amp;lt;protocol&amp;gt; is either&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;http&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;https&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;You must add&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;http-inputs-&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;before the &amp;lt;host&amp;gt; on AWS.&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;You must add&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;http-inputs.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;before the &amp;lt;host&amp;gt; on GCP.&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;&amp;lt;host&amp;gt; is the Splunk Cloud Platform instance that runs HEC&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;You must add the domain .splunkcloud.com after the &amp;lt;host&amp;gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;&amp;lt;port&amp;gt; is the HEC port number&lt;UL&gt;&lt;LI&gt;&lt;DIV class=""&gt;8088 on Splunk Cloud Platform free trials&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;443 by default on Splunk Cloud Platform instances&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;&amp;lt;endpoint&amp;gt; is the HEC endpoint you want to use. In many cases, you use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/services/collector/event&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint for JavaScript Object Notation (JSON)-formatted events or the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;services/collector/raw&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint for raw events&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing I should use the "Splunk Cloud Platform free trials" so the URL is:&lt;/P&gt;&lt;PRE&gt;&amp;lt;protocol&amp;gt;://http-inputs-&amp;lt;host&amp;gt;.splunkcloud.com:&amp;lt;port&amp;gt;/&amp;lt;endpoint&amp;gt;&lt;/PRE&gt;&lt;DIV class=""&gt;&lt;BR /&gt;1. what is the &amp;lt;host&amp;gt; ? is it something unique to my account? how do I know what to use?&lt;BR /&gt;2. if I'm sending data from a Postman client \ local application (running from my computer) do I need the "http-inputs" part of the URL?&lt;BR /&gt;3. since port 8088 is for the free trial - does that means that I should use HTTP?&lt;BR /&gt;4. is there a list of &amp;lt;endpoints&amp;gt; I can explore?&lt;BR /&gt;&lt;BR /&gt;thanks for any help!&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 07:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638568#M109035</guid>
      <dc:creator>dardar</dc:creator>
      <dc:date>2023-04-04T07:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to send data Splunk Cloud using HEC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638646#M109050</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;1. what is the &amp;lt;host&amp;gt; ? is it something unique to my account? how do I know what to use?&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, &amp;lt;host&amp;gt; is unique to your account.&amp;nbsp; Get it from the URL you use to connect to your Splunk Cloud trial account.&amp;nbsp; It will be &amp;lt;host&amp;gt;.splunkcloud.com.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;2. if I'm sending data from a Postman client \ local application (running from my computer) do I need the "http-inputs" part of the URL?&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, the "http-inputs" part is required regardless of how you send the data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;3. since port 8088 is for the free trial - does that means that I should use HTTP?&lt;/BLOCKQUOTE&gt;&lt;P&gt;The port number is independent of the protocol.&amp;nbsp; Try them both and use the protocol that works for you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;4. is there a list of &amp;lt;endpoints&amp;gt; I can explore?&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes. See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.0.2209/Data/HECRESTendpoints" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.0.2209/Data/HECRESTendpoints&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-to-send-data-Splunk-Cloud-using-HEC/m-p/638646#M109050</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-04T12:38:26Z</dc:date>
    </item>
  </channel>
</rss>

