<?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 Enterprise trial - Http Event Collector not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Enterprise-trial-Http-Event-Collector-not-working/m-p/341023#M62876</link>
    <description>&lt;P&gt;I've installed the &lt;STRONG&gt;splunk enterprise trial&lt;/STRONG&gt;. i've &lt;STRONG&gt;enabled the HEC&lt;/STRONG&gt; feature as described here &lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE7F"&gt;http://dev.splunk.com/view/event-collector/SP-CAAAE7F&lt;/A&gt; which enable to send machine data from my app into splunk. I tried to send a &lt;STRONG&gt;POST request using postman to splunk and got no response.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;method: POST&lt;BR /&gt;
url : &lt;A href="http://localhost:8088/services/collector"&gt;http://localhost:8088/services/collector&lt;/A&gt;&lt;BR /&gt;
Authorization : my generated token&lt;/P&gt;

&lt;P&gt;why there is no response if i already enabled the HEC feature. it seems that no server listen on that port at all&lt;/P&gt;

&lt;P&gt;what i don't understand about splunk is - where is my data stored? is data for SPLUNK ENTERPRISE stored only locally and should be in use inside companies LAN network ? or splunk own servers in the cloud that stored all my data? is Splunk Enterprise and Splunk Cloud have differences on that subject?&lt;/P&gt;

&lt;P&gt;thank you for your help.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 14:33:40 GMT</pubDate>
    <dc:creator>henbarlevi</dc:creator>
    <dc:date>2017-11-01T14:33:40Z</dc:date>
    <item>
      <title>Splunk Enterprise trial - Http Event Collector not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Enterprise-trial-Http-Event-Collector-not-working/m-p/341023#M62876</link>
      <description>&lt;P&gt;I've installed the &lt;STRONG&gt;splunk enterprise trial&lt;/STRONG&gt;. i've &lt;STRONG&gt;enabled the HEC&lt;/STRONG&gt; feature as described here &lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE7F"&gt;http://dev.splunk.com/view/event-collector/SP-CAAAE7F&lt;/A&gt; which enable to send machine data from my app into splunk. I tried to send a &lt;STRONG&gt;POST request using postman to splunk and got no response.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;method: POST&lt;BR /&gt;
url : &lt;A href="http://localhost:8088/services/collector"&gt;http://localhost:8088/services/collector&lt;/A&gt;&lt;BR /&gt;
Authorization : my generated token&lt;/P&gt;

&lt;P&gt;why there is no response if i already enabled the HEC feature. it seems that no server listen on that port at all&lt;/P&gt;

&lt;P&gt;what i don't understand about splunk is - where is my data stored? is data for SPLUNK ENTERPRISE stored only locally and should be in use inside companies LAN network ? or splunk own servers in the cloud that stored all my data? is Splunk Enterprise and Splunk Cloud have differences on that subject?&lt;/P&gt;

&lt;P&gt;thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Enterprise-trial-Http-Event-Collector-not-working/m-p/341023#M62876</guid>
      <dc:creator>henbarlevi</dc:creator>
      <dc:date>2017-11-01T14:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Enterprise trial - Http Event Collector not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Enterprise-trial-Http-Event-Collector-not-working/m-p/341024#M62877</link>
      <description>&lt;P&gt;hello, This issue may be due to url.. try &lt;A href="http://localhost:8088/services/collector/raw"&gt;http://localhost:8088/services/collector/raw&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;refer below steps for Splunk Enterprise version :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Data/UsetheHTTPEventCollector"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Create an Event Collector token&lt;/STRONG&gt;&lt;BR /&gt;
To use HEC, you must configure at least one token.&lt;/P&gt;

&lt;P&gt;Click Settings &amp;gt; Data inputs&lt;BR /&gt;
Click &lt;STRONG&gt;HTTP Event Collector.&lt;/STRONG&gt;&lt;BR /&gt;
click &lt;STRONG&gt;New Token&lt;/STRONG&gt;&lt;BR /&gt;
Enter name=abc &lt;BR /&gt;
click next&lt;BR /&gt;
click &lt;STRONG&gt;Create a new index&lt;/STRONG&gt;&lt;BR /&gt;
Enter Index Name=abc&lt;BR /&gt;
from dropdown select &lt;STRONG&gt;abc&lt;/STRONG&gt;  i.e  default index =abc&lt;BR /&gt;
same way select &lt;STRONG&gt;abc&lt;/STRONG&gt; from &lt;STRONG&gt;Select Allowed Indexes&lt;/STRONG&gt; option&lt;BR /&gt;
click review&lt;BR /&gt;
click submit&lt;BR /&gt;
keep that Token Value with you ..&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Enable HTTP Event Collector&lt;/STRONG&gt;&lt;BR /&gt;
Click Settings &amp;gt; Data Inputs.&lt;BR /&gt;
Click HTTP Event Collector.&lt;BR /&gt;
Click Global Settings.&lt;BR /&gt;
click &lt;STRONG&gt;Enabled&lt;/STRONG&gt;&lt;BR /&gt;
then clear all checked boxes and select default index =abc&lt;BR /&gt;
click save&lt;/P&gt;

&lt;P&gt;Now go to Postman :&lt;/P&gt;

&lt;P&gt;Select POST method&lt;BR /&gt;
url : &lt;A href="http://localhost:8088/services/collector/raw"&gt;http://localhost:8088/services/collector/raw&lt;/A&gt;&lt;BR /&gt;
select Headers tab : key =Authorization and value = Splunk &amp;lt;&lt;STRONG&gt;your token&lt;/STRONG&gt;&amp;gt;&lt;BR /&gt;
in the body tab : select raw and write your message&lt;BR /&gt;
click send&lt;/P&gt;

&lt;P&gt;Now in the splunk search  for : index="abc"&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 10:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Enterprise-trial-Http-Event-Collector-not-working/m-p/341024#M62877</guid>
      <dc:creator>anjambha</dc:creator>
      <dc:date>2017-11-10T10:37:11Z</dc:date>
    </item>
  </channel>
</rss>

