<?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 Sending logs using Splunk HEC in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sending-logs-using-Splunk-HEC/m-p/500337#M85244</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have a requirement to send the logs from one of our IoT devices in to the Splunk. As it doesnt have syslog functionality/ install splunk agent, we are planning to use HEC. &lt;/P&gt;

&lt;P&gt;I have gone through the Splunk documentation on HEC and created the token and did some testing using curl and everything looks good.  (curl -k &lt;A href="http://localhost:8088/services/collector"&gt;http://localhost:8088/services/collector&lt;/A&gt; -H "Authorization:Splunk " -d "{json formatted entries}"). &lt;/P&gt;

&lt;P&gt;Now what should be the next step to collect the actual logs from the device. Whether the developer needs to output the logs in to the above Splunk HEC token? &lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2019 09:37:44 GMT</pubDate>
    <dc:creator>cyber_castle</dc:creator>
    <dc:date>2019-10-10T09:37:44Z</dc:date>
    <item>
      <title>Sending logs using Splunk HEC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sending-logs-using-Splunk-HEC/m-p/500337#M85244</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have a requirement to send the logs from one of our IoT devices in to the Splunk. As it doesnt have syslog functionality/ install splunk agent, we are planning to use HEC. &lt;/P&gt;

&lt;P&gt;I have gone through the Splunk documentation on HEC and created the token and did some testing using curl and everything looks good.  (curl -k &lt;A href="http://localhost:8088/services/collector"&gt;http://localhost:8088/services/collector&lt;/A&gt; -H "Authorization:Splunk " -d "{json formatted entries}"). &lt;/P&gt;

&lt;P&gt;Now what should be the next step to collect the actual logs from the device. Whether the developer needs to output the logs in to the above Splunk HEC token? &lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 09:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sending-logs-using-Splunk-HEC/m-p/500337#M85244</guid>
      <dc:creator>cyber_castle</dc:creator>
      <dc:date>2019-10-10T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sending logs using Splunk HEC</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sending-logs-using-Splunk-HEC/m-p/500338#M85245</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes. Now using created HEC Token you can use your application to send data to Splunk HEC.&lt;/P&gt;

&lt;P&gt;There are several options for sending data to HTTP Event Collector:&lt;/P&gt;

&lt;P&gt;You can make an HTTP request using your favorite HTTP client and send your JSON-encoded events.&lt;BR /&gt;
    As a developer, you can use the Java, JavaScript (node.js), and .NET logging libraries in your application to send data to HEC. These libraries are compatible with popular logging frameworks. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/splunk-logging-java/SP-CAAAE2K"&gt;http://dev.splunk.com/view/splunk-logging-java/SP-CAAAE2K&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/splunk-loglib-dotnet/SP-CAAAEX4"&gt;http://dev.splunk.com/view/splunk-loglib-dotnet/SP-CAAAEX4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 05:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sending-logs-using-Splunk-HEC/m-p/500338#M85245</guid>
      <dc:creator>Prewin027</dc:creator>
      <dc:date>2019-10-14T05:08:21Z</dc:date>
    </item>
  </channel>
</rss>

