<?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: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215586#M13456</link>
    <description>&lt;P&gt;Is HEC configured for non-HTTPS ? Put differently, are you posting over HTTP to an HTTPS-only endpoint ?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 13:52:42 GMT</pubDate>
    <dc:creator>tmuth_splunk</dc:creator>
    <dc:date>2016-06-28T13:52:42Z</dc:date>
    <item>
      <title>How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215583#M13453</link>
      <description>&lt;P&gt;I do not see an option for http event collector in Splunk Web.&lt;BR /&gt;
We have a search head cluster and an indexer cluster.&lt;BR /&gt;
Should I create an app on the deployer and push the configuration to all search heads?&lt;BR /&gt;
Also, another question is the token which needs to be generated. Does it have to be in any specific format or can any random token can work?&lt;/P&gt;

&lt;P&gt;Thanks a ton.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 18:46:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215583#M13453</guid>
      <dc:creator>athorat</dc:creator>
      <dc:date>2016-06-21T18:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215584#M13454</link>
      <description>&lt;P&gt;HTTP event collector is another form of input in splunk and using inputs.conf in splunk. &lt;BR /&gt;
Search head cluster does not allow data inputs from web and inputs.conf is not part of the replicating configuration file list. Information about SHC replication is available here &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/DistSearch/HowconfrepoworksinSHC"&gt;HowconfrepoworksinSHC&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;HEC can be configured in different ways depends on your infrastructure design and few of them are mentioned under &lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE73"&gt;HEC&lt;/A&gt;. If you would like to configure HEC on search heads, it's suggested to use deployer as mentioned in &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/DistSearch/PropagateSHCconfigurationchanges"&gt;Propagate SHC configuratio nchanges&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;Regarding the token, it's suggested to leave to splunk to create tokens for you and the only restriction mentioned in the documents is &lt;STRONG&gt;&lt;EM&gt;The token must be a GUID, and must be unique.&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 03:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215584#M13454</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-06-22T03:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215585#M13455</link>
      <description>&lt;P&gt;We have a 3 node Search Head Cluster, ver6.3&lt;BR /&gt;
4 indexer cluster , ver6.3&lt;BR /&gt;
2 heavy forwarder, ver6.1&lt;BR /&gt;
Cluster Master , ver6.3&lt;BR /&gt;
and a Deployer , ver6.3&lt;/P&gt;

&lt;P&gt;We tried to create a token on the cluster master, as its a stand alone machine (and, ver6.3). Configured the outputs.conf.&lt;BR /&gt;
Used the following command to generate a token&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; /opt/splunk/bin/splunk http-event-collector create new-token "SOAHTTPPROD" -index np_dpa -uri "https://p01apl388.:8089"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I run the following command I get an error:  " curl: (56) Recv failure: Connection reset by peer"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k &lt;A href="http://p01apl388:8088/services/collector/event/" target="test_blank"&gt;http://p01apl388:8088/services/collector/event/&lt;/A&gt; -H " Authorization: Splunk CA3DEC9C-B060-495A-BD6E-C7BB8CE7039D" -d '{"event": "hello world"}'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One shot indexes data from cluster master &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk add oneshot "/opt/splunk/testevent.log" -index np_dpa -sourcetype SOA:PROD:HTTPEVEN
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;nc -v p01apl388 8088 shows connection successful &lt;/P&gt;

&lt;P&gt;Not sure whats the issue here.&lt;/P&gt;

&lt;P&gt;Thanks a ton for looking into this @renjith.nair&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 00:29:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215585#M13455</guid>
      <dc:creator>athorat</dc:creator>
      <dc:date>2016-06-28T00:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215586#M13456</link>
      <description>&lt;P&gt;Is HEC configured for non-HTTPS ? Put differently, are you posting over HTTP to an HTTPS-only endpoint ?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:52:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215586#M13456</guid>
      <dc:creator>tmuth_splunk</dc:creator>
      <dc:date>2016-06-28T13:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215587#M13457</link>
      <description>&lt;P&gt;hi @tmuth_splunk can you please throw some light on what should I be checking?&lt;BR /&gt;
Right now I am  trying to send a test event using curl from the same host where HEC is configured to the indexers,&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215587#M13457</guid>
      <dc:creator>athorat</dc:creator>
      <dc:date>2016-06-28T14:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215588#M13458</link>
      <description>&lt;P&gt;Settings &amp;gt; Data Inputs &amp;gt; HTTP Event Collector &amp;gt; "Global Settings" button at top &amp;gt; "Enable SSL" checkbox (checked by default)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215588#M13458</guid>
      <dc:creator>tmuth_splunk</dc:creator>
      <dc:date>2016-06-28T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215589#M13459</link>
      <description>&lt;P&gt;After I disabled SSL, it could connect... However, I'm getting the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ curl -k  &lt;A href="http://localhost:8088/services/collector/event" target="test_blank"&gt;http://localhost:8088/services/collector/event&lt;/A&gt; -H "Authorization: Splunk 3C9B0C01-F531-46F1-9F49-C27347C6FE7C" -d '{"event": "hello world"}'
{"text":"Data channel is missing","code":10}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Did the format change? What's the new version?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 00:10:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215589#M13459</guid>
      <dc:creator>marcellodesales</dc:creator>
      <dc:date>2017-06-24T00:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up HTTP event collector in a search head cluster, and does the token need to be in a specific format?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215590#M13460</link>
      <description>&lt;P&gt;I solved it by the answer at  &lt;A href="https://answers.splunk.com/answers/389554/why-am-i-getting-error-data-channel-is-missing-usi.html"&gt;https://answers.splunk.com/answers/389554/why-am-i-getting-error-data-channel-is-missing-usi.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 00:33:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-up-HTTP-event-collector-in-a-search-head-cluster-and/m-p/215590#M13460</guid>
      <dc:creator>marcellodesales</dc:creator>
      <dc:date>2017-06-24T00:33:09Z</dc:date>
    </item>
  </channel>
</rss>

